Tuesday, May 13, 2008

Setting GRUB password after installation

$> sudo grub

grub> md5crypt

Password: (enter password here)
Encrypted: (a hash will be generated here. copy this hash)

grub> quit

$> vi /boot/grub/grub.conf

In the grub.conf file, add a line below the splashimage line -
password --md5

Reboot and your grub password should take effect

No comments: