LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-02-2012, 02:50 PM   #1
bwilky11
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
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,140

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
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.

http://ubuntuforums.org/showthread.php?t=7353

or you could go to the actual Grub Manual site below:

http://www.gnu.org/software/grub/man....html#Security
 
Old 11-02-2012, 06:47 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Kymera Tech Tips: Setting GRUB2 Password on Debian Squeeze (6.0.5) - http://blog.kymera-it.com/2012/09/se...on-debian.html
 
Old 11-02-2012, 08:22 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,059

Rep: Reputation: 332Reputation: 332Reputation: 332Reputation: 332
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.
https://help.ubuntu.com/community/Grub2/Passwords

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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


All times are GMT -5. The time now is 11:23 PM.

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