From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078615810436.tru64-unix-managers.marc@archive.invalid> From: Arshad Saeed SS Date: Fri, 15 Aug 1997 00:39:36 +0000 To: tru64-unix-managers Subject: Summary :If Someone forgets his root passwd X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078615810436 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 To: Arshad Saeed 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 > > >