tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Arshad Saeed SS <arshad () super ! net ! pk>
To: tru64-unix-managers
Subject: Summary :If Someone forgets his root passwd
Date: Fri, 15 Aug 1997 00:39:36 +0000	[thread overview]
Message-ID: <96078615810436.tru64-unix-managers.marc@archive.invalid> (raw)


The below reply is the answer of the above subject.
Thanx to Jagadeesh-v.
I am late in posting it to the list for which I m sorry.

Regards

Arshad Saeed

---------- Forwarded message ----------
Date: Sat, 12 Jul 1997 10:49:57 +0500 (GMT+0500)
From: jagadeesh-v <jag@getafix.cmc.net.in>
To: Arshad Saeed <arshad@super.net.pk>
Subject: Re: your mail

I suggest you should in no conditions forget your root-password.  If your
memory is so bad, please write it down on a sheet of paper, and keep in
under lock & key.
    Under worst conditions, if you forget your root-password, let the
users say
#sync
for 3 or 4 times, this saves the last modified data.  Switch off the
system just like that, Come to the console prompt,
>>> boot dka400
here cd-rom is assumed to be of scsi-id 4.  After booting through the
cd-rom, come to the system-management / unix-shell..
   Now your cd-rom is mounted as your root file-system in the read-only
mode.  Say
#mount -u /
this brings /     ie., the root-file system in the read-write mode.
#cd /etc
#rm passwd.dir ; rm passwd.pag
#vi passwd
and remove the encrypted password in the row indicated by login-id root.
and then, say
#mkpasswd /etc/passwd 
and this creates passwd.dir and passwd.pag
and next time you can login as root without a password.

But, please donot forget the root-password.

JAGADEESH. V
jag@getafix.cmc.net.in

On Fri, 11 Jul 1997, Arshad Saeed wrote:

> 
> If someone forget his root passwd.What remedy is possible for this?
> I have an assignment with these question(difficult one)??
> As you know I am new to this env.
> 
> 
> 
>       Kind Regards
> 
>     Arshad Saeed
>     B.E (ELECTRICAL)
>     NED UNIVESITY OF ENGG.& Tech
> 
> 
> 

                 reply	other threads:[~1997-08-15  0:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox