Fedora Linux Support Community & Resources Center
  #1  
Old 8th January 2009, 03:17 AM
soupisgood84 Offline
Registered User
 
Join Date: Jan 2009
Posts: 2
Grub password protect other OS

Hello,
I am brand new to these forums. I did some searching around the net and was unable to find anything regarding this topic. I was wondering if there was a way to password protect the other OSs on my multi-boot system through the Fedora 10 Grub. I know you could protect them by placing password on the OSs themselves but I was just curious if the boot loader was able to do this for you.
Thanks for any info.
Reply With Quote
  #2  
Old 8th January 2009, 03:34 AM
ozjd's Avatar
ozjd Offline
Registered User
 
Join Date: Feb 2008
Location: Sydney Australia
Age: 57
Posts: 2,228
It appears to be possible, in a terminal type "info grub" (without the quotes of course). That gives you the full manual. Have a look at the security section. Haven't tried it but it may help others if you post your results back here.
Reply With Quote
  #3  
Old 8th January 2009, 03:45 AM
rmarnold Offline
Registered User
 
Join Date: Jan 2009
Posts: 2
from the command line .

Create an MD5 password hash for GRUB

#grub-md5-crypt
password:

Next, copy the hash output.

Then, open /boot/grub/menu.lst

add to the top...

password --md5 <paste your hash>

Then at the end of initrd on the next line add lock.

<example:>
initrd /initrd.img-2.6.8-2-k7
lock
<example:/>

reboot.

and lastly at GRUB slash page. press p to promt for password.

---------------
Here is a link. http://www.debiantutorials.org/content/view/40/227/


I tested it. works great!
Reply With Quote
  #4  
Old 29th January 2009, 10:09 PM
soupisgood84 Offline
Registered User
 
Join Date: Jan 2009
Posts: 2
I just wanted to come back and let you guys know that this worked perfectly. I was trying to password protect all my OS's except one and was able to accomplish this. Thanks very much!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Password protect from root? giuliopepe Linux Chat 2 31st July 2009 03:28 PM
How To: Improve Boot-up Security - Password Protect Grub and Single User Mode Evil_Bert Guides & Solutions (No Questions) 6 14th May 2009 03:08 AM
creative zen password protect help Wiles Using Fedora 0 17th June 2008 01:01 AM
Password Protect ZIP archive TypeSH Using Fedora 3 31st March 2008 09:23 PM


Current GMT-time: 19:55 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat