-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sudhanshu kulkarni wrote:
> 
> hi,
> does anybody has idea about reseting the root password  in linux when
> the system boots incase the user has forgot the password  ?
>
> regards
> spk


Following information is related to RedHat or Fedora Linux installation that 
uses GRUB as boot loader.

1. When at the GRUB menu press 'a'. With this you can edit the arguments passed 
to kernel.
2. At the end of arguments add 'init 1' (without quotes). This will boot the 
system into single user text mode which doesn't require password.
3. Now you should be able to use passwd command to change the password of root.
4. Or you can just delete the x in the line of root account in /etc/passwd. 
This will allow you passwordless root access.
5. Since it is easy this way to get entry into root account you better protect 
GRUB with a password.



Regards,
Onkar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDOj5lEdJataruO48RAsDJAKCnNb2RJsVrhKoaen2GOI+RgT3x0QCghNWd
2yJ/c5SO5vDWNQSVMnEFDZs=
=+5if
-----END PGP SIGNATURE-----
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      ([email protected])
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to