[NTLUG:Discuss] GRUB Password

Chris Cox cjcox at acm.org
Tue May 9 17:11:59 CDT 2006


Dennis Rice wrote:
> Today in class, I attempted to demonstrate password security built into 
> GRUB.  The actions that I took were:
> 1.   From XTerm, ran grub, entered password  --md5crypt, and desired 
> password at prompt.  Copied encrypted password to clipboard.
> 2.   Opened /boot/grub/grub.conf file using gedit.  Entered line before 
> the label section of "password --md5 'encrypted-password' (by pasting).
> 3.   Rebooted computer, but system rebooted normally without requesting 
> boot-password.
> 
> Any thoughts on what I might have done wrong.  Would appreciate any 
> thoughts.

I think you need a virtually empty grub.conf and then pass the
true-grub.conf as part of the password grub command.

I've never tried this though.



More information about the Discuss mailing list