From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076335021418.tru64-unix-managers.marc@archive.invalid> From: Deya Motawie Date: Sun, 14 Jul 1996 14:22:51 +0000 To: tru64-unix-managers Subject: SUMMARY: Root Passwd X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076335021418 Hi all, Thanks to the following people : 1) Kurt Carlson : He suggested the following : Easiest way is to boot to single user mode: 'b -fl s' and issue passwd. If you happen to be running C2 (enhanced security) you can also fix by zapping the tcb file for root with a known hashed password. Kurt Carlson, U of Alaska 2) Dr. Marco Luchini He Suggesetd the following : Just shut the system down and reboot to single user. # shutdown -h now >>> boot -fl s Then you may want to mount /usr - I use /sbin/bcheckrc - and then vi /etc/passwd. You don't need to enter the root passwd to enter single user mode. I don't run enhanced security myself. I seem to recall you need to wipe out the file /tcb/files/auth/r/root. See map authcap. I don't know if single user requires you to enter the root passwd under enhanced security. If it doesn't the above will be OK. If it does, you need to boot from CD, the enter the system admin shell, mount the root partition and wipe the above file. I forgot to mention you should also know that in single user, the root partition is mounted read-only. To remount it read-write use: # mount -u / This is buried deep in man mount... ----------------------------------------------- The solution was : I didn't even need to shutdown the system after I found that I have RW to the file root in tcb , which belongs the group auth , just changed the file , logged in to root with no passwd , changed it again as root , and I am done . It was quite easy . Thanks to every one, replied or those who will reply . Deya ------------------------------------------------------------------------- Deya Motawie Tel(O): (015) 414130 University Of Technology, Sydney P.O. Box 123, Broadway NSW 2007 -------------------------------------------------------------------------