Set grub password after Linux Installation
Login to the your machine as root from there type ‘grub’
#grub
Then it will prompt like
grub>
Use md5crypt command to encrypt the password as given below
grub>md5crypt
Password: *****
Encrypted : $%FasfsdTWEPaasd.wE56.RG6/
Copy this encrypted password and exit grub mode by typing quit at the prompt
Now open /etc/grub.conf file
Add the following line in the global section of the config file
password –md5 $%FasfsdTWEPaasd.wE56.RG6/
save and edit the file .
try checking ….by restarting and login single user mode and check grub prompts for password
Category: Linux Administration
