Monday, February 15, 2010

password protected grub

1> open vim /etc/grub.conf
2>Add password --md5 (copy and paste the md5 value)
3>save and exit grub.conf file

Now
1>In terminal run grub-md5-crypt
2>chose a password for grub.conf file
3>copy the md5 value and paste the grub.conf file in Add password --md5 value section

Now if all done successfully .You have to put password by press p to open the grub.conf file .

No comments: