Quoting Leo Pascua <[EMAIL PROTECTED]>:

>      how change the password of root Redhat 6.0 since the guy who
> installed
> is on leave....

There are several ways to "Backdoor":

1. For RH Linux on Intel, you can use an emergency disk to boot to 
a ramdisk rootfs, then mount your usual harddisk rootfs on /mnt
then edit /mnt/etc/shadow by removing the root password field.
Make sure you are not connected to the Net when you reboot,
because then root can log in without a password.

2. For RH Linux on DEC 2000 which can not boot to an emergency disk,
you can use an emergency CD to boot to a ramdisk rootfs, and proceed
as in 1 above.

3. For Digital Unix on DEC machines, you need to go to the SRM
and boot single user.  On single user mode, no password is asked but
root / is mounted readonly.  Remount / read-write and edit
/etc/passwd using "ed", since "vi" is usually not available when only /
is mounted.

4. One of the best ways is to prepare for this ahead of time:
Tweak lilo.conf the SysV init system (/etc/rc.d/init.d/single)
so that when you go single user no password is asked from root.
Then when you reboot, at the Lilo prompt, type "linux single"

PMana


-------------------------------------------------
This mail sent through IMP: mail.ateneo.net

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to