SUMMARY: Root Passwd

From: Deya Motawie <deya_at_Cheops.apana.org.au>
Date: Mon, 15 Jul 1996 00:22:51 +1000 (EST)

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
-------------------------------------------------------------------------
Received on Sun Jul 14 1996 - 16:55:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT