hi nikhil, well if u dont have a boot disk or resucue disk ... type this on the lilo prompt --> linux single & then u will get a root shell ... wherein u can change ur passwd by --> passwd or by editing the /etc/passwd & /etc/shadow files & removing the passwd part from the line for root.
cheers~ </shahazad>
On Mon, 27 Aug 2001, Nikhil Joshi wrote:
recently installed linux on my friend's comp. Now somehow he has forgotten the root password. Is it possible to recover the lost password? The password file is shadowed.
Boot from a boot floppy or a rescue disk. Mount the root file system. Edit the shadow file. Delete the encrypted password. Restart the machine, and reset your password.
Philip