LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  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
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,508

Rep: Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490Reputation: 2490
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/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
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,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration