changing root password
I am in the mess. forget linux redhat 3.0 entr. server's root password. how can i recover it ?
|
You boot into single-user mode and use the "passwd" command to change (not recover) the root password. For more info:
* http://www.redhat.com/docs/manuals/e...ot-passwd.html * http://linuxgazette.net/107/tomar.html |
You can't. But there is good news... you can change it.
Code:
$ sudo passwd root From there you need to edit the /sys/image/etc/shadow file... look for the line starting "root:" It will look like this Code:
root:$1$4m0pQ7wB$lWLD5xKy2hwb0IBJgXFSt1:13228:0:99999:7::: Code:
root::13228:0:99999:7::: Logout - login as root, hit enter for the password blank password), obtain a new root password (# passwd root) |
All times are GMT -5. The time now is 03:50 AM. |