LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-01-2006, 02:31 AM   #1
p_test
Member
 
Registered: Aug 2004
Location: Jaipur(Rajasthan), INDIA
Posts: 35

Rep: Reputation: 15
grub password


Hi

I have already installed RHEL 4 on my system...
Although we can give grub password during installation but i din provide any.... Now How can we give a grub password after the installation is over....???
 
Old 03-01-2006, 03:55 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
When you are on the grub menu, type c
then type md5crypt
then put your password
Write this down.

Then boot normally, edit your /boot/grub/menu.lst and put this hash.

I remembered someone who told me that password were not salted in RedHat (== a password would always generate the same md5-grub-password)
 
Old 03-01-2006, 04:29 AM   #3
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Simply insert the line :
password PASSWORD
somewhere at the start of the config file /boot/grub/menu.lst or /boot/grub/grub.conf whichever exists. Of course replace PASSWORD with your actual password. It is also possible to encrypt your password using md5crypt.
Check this link form more info:
http://www.gnu.org/software/grub/man....html#password

Last edited by kevkim55; 03-01-2006 at 04:31 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
i don't know my grub/root password Joe120 Linux - Newbie 7 01-25-2006 06:54 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
lost grub password ? juan_de_margo Linux - Newbie 1 01-11-2005 03:22 AM
GRUB password garnica Linux - Security 2 11-23-2004 09:33 AM
grub password linuxtesting2 Linux - Security 2 05-04-2004 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:12 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