forgot my linux root password
The “forgotten root password”
Q. I forgot the root password on my linux machine. How do I change the password ?R. The easiest way to change the “forgotten root password” is to boot your Linux machine in the single-user mode, namely at the “lilo”prompt, during the bootup you will type:
linux singleThis will log you in as “root” without asking for a password. As root, you may now change the root password using passwd command ( the old password is not required ):
passwdIf this seems to you insecure or to simple to be true, that is because no computer system is realy secure if other people have physical access to the computer hardware.
There is a way to secure the lilo boot, but this will be the subject for another article.
Whoops. Dont you just hate it when that happens.
ReplyDeleteJT
www.FireMe.To/udi
That is why I post it here. so that everybody can make reference.
ReplyDelete