Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-02-2012, 02:50 PM   #1
LQ Newbie
Registered: Apr 2012
Posts: 6

Rep: Reputation: Disabled
GRUB security. -How do I properly set, and double check the grub bootloader password?

Running Debian squeeze with grub.

I am trying to set the grub password and there are way to many suggestions online.

grub-md5-crypt (not found)

grub2-mkpasswd-pbkdf2 (not found)

So I edited /boot/grub/menu.lst to include

timeout 3
password --md5 "my password"

But 1. I dont know if that worked and 2. I dont know how to test that or get in to boot loader
Old 11-02-2012, 05:30 PM   #2
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,855

Rep: Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538Reputation: 1538
My recollection from installing Debian Squeeze is that it uses Grub2? Not sure. You could check the site below if you are using Grub Legacy and menu.lst which explains the process for Grub Legacy.

or you could go to the actual Grub Manual site below:
Old 11-02-2012, 06:47 PM   #3
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Kymera Tech Tips: Setting GRUB2 Password on Debian Squeeze (6.0.5) -
Old 11-02-2012, 08:22 PM   #4
Senior Member
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
You will need to edit the /etc/grub.d/00_header file.

This is probably the best source for password protection around.

I am familiar with the guy mainly responcible for this and the research and testing he put into it.

Even if it is from an Ubuntu site I would use it.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID1 Set up using GRUB Bootloader mreeves Debian 4 03-14-2008 08:34 PM
Recovering root password in debian with grub bootloader JSR_tuxbox Linux - Newbie 4 12-08-2007 11:23 PM
change Root Password even if the password in the grub is also set sheelnidhi Linux - General 6 08-30-2006 07:27 AM
GRUB Bootloader not working properly tackiepro Linux - Newbie 17 05-24-2006 01:15 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration