[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emergency use of boot-rescue disk.



Ok, you can do the following:
1. boot the computer. When it asks you for 
boot: 
type in 
linux init=/bin/sh
That will drop you into shell without asking for any passwords.
Then umount /  (reason for this is / is only mounted as read )
And remount the / partition as read-write.
then edit the passowrd file to blank out the second field in the root line
(field being anything between : )
THen save the file and 
sync

The just login as root, and it should let you in without problem, then
just reset the password.

There may be 2 password files, /etc/passwd and /etc/shadow
Make sure if that happens, that you change both.

HTH,
 Andrew



____________________________________________________________________
Never include a comment that will help | Andrew Ivanov
someone else understand your code.     | c680789@showme.missouri.edu
If they understand it, they don't      | ICQ: 12402354
need you.                              |


Reply to: