-
Del.icio.us -
Digg -
Furl -
Google -
Simpy -
Spurl -
Y! MyWeb
How to protect the GRUB boot loader in Linux with a password
What is this Tip?
How to implement this Tip?
1. From your Linux machine access a terminal window and type in the below given command./sbin/grub-md5-crypt
This will load the GRUB Password Hash maker and type in a password of your choice. It will return a password-hash value to you.
2. Now load the /boot/grub/grub.conf file in an editor and type in the below given line just below the timeout line.password --md5 password-hash-value
Replace the password-hash-value> with the hash value you got from the /sbin/grub-md5-crypt command.
3. Now from next time onwards from GRUB boot loader screen you will have to Press P and your GRUB Password in order to access the GRUB parameter editor screen.