14 September 2010

Boot loader Password Set

[root@mickey ~]# grub-md5-crypt
Password:
Retype password:
$1$XrTDO$u5L0Vx/
NSj1UnuHVBsVkw/
[root@mickey ~]#

Next, edit the grub config file (in fedora this is /boot/grub/grub.conf) and insert the following line right after the "default" and "timeout" lines:

password --md5 $1$XrTDO$u5L0Vx/NSj1UnuHVBsVkw/

Be sure and use 'copy and paste' to get it exactly the same as was generated by the grub-md5-crypt command.

No comments: