LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-15-2003, 06:10 PM   #1
RHlinux9
LQ Newbie
 
Registered: Sep 2003
Posts: 28

Rep: Reputation: 15
can i make a password on grub after installing linux


i did install linux red hat 9 but i didn't put a password on grub can i put it now?
what if i did the contrary ( i.e i did put a password during installation and i want to cancel or change it now ..... how could i ???
thanks
 
Old 09-15-2003, 06:32 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Either way, you would edit the grub.conf file. Read the documentation to find out what options you need to enable / disable.
 
Old 09-15-2003, 06:47 PM   #3
RHlinux9
LQ Newbie
 
Registered: Sep 2003
Posts: 28

Original Poster
Rep: Reputation: 15
from where could i get the official documentation
 
Old 09-15-2003, 06:57 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
man grub

or

http://www.gnu.org/software/grub/
 
Old 09-15-2003, 07:21 PM   #5
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
"info grub" is more comprehensive compared to the manual page.
 
Old 09-15-2003, 07:39 PM   #6
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In /boot/grub/grub.conf, the password is set with the password option.
Code:
password --md5 $1$43twx...blah...blah
In order to generate a new encrypted password, use the grub-md5-crypt command.
Take the output and append it with the password option.
 
Old 09-16-2003, 12:31 AM   #7
RHlinux9
LQ Newbie
 
Registered: Sep 2003
Posts: 28

Original Poster
Rep: Reputation: 15
but this way always fails mathieu
 
Old 09-16-2003, 02:56 PM   #8
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
but this way always fails mathieu
If you are refering to the grub-md5-crypt command, you must login as root

Or type:
Code:
/sbin/grub-md5-crypt
 
  


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
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
installing the make command on suse linux supersucker Linux - Software 1 09-05-2004 10:54 AM
After installing linux wont let me get past GRUB!! logdog Linux - Newbie 5 08-08-2004 03:36 PM
Installing Linux-2.4.20: Make menuconfig, connot find ncurses SparceMatrix Linux From Scratch 3 06-12-2003 08:42 PM
installing Windows XP + Linux + Grub GoldenWing Linux - Software 1 02-24-2002 11:39 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration