Results 1 to 10 of 16
Hello
I want to put password in the grub file such that only when the user specifies the right password at start up, He should be able to login. I ...
- 05-28-2009 #1
How to put password in grub
Hello

I want to put password in the grub file such that only when the user specifies the right password at start up, He should be able to login. I know how to encrypt the password with md5crpyt. I'm confused where to put the password line and also does restricted works here in grub like lilo.cong ??Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #2
Check this thread.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-29-2009 #3
Restricted not present in grub.conf file
If I have understood correctly then the keyword restricted has no meaning in grub.conf file.
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-29-2009 #4
Putting Image in grub
Now looking at changing the picture at the startup. I know the line
is to be changed. But what is hd0 and this xpm format. When I put a normal image things are totally messed up. It doesn't show grub at all and boots the default OS.Code:splasimage=(hd0,1)/grub/splash.xpm.gz
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-29-2009 #5
(hd0,1) means First Harddisk, second partition.
Regular files will not with grub. You have to convert those according to grub specifications.
Execute this code to convert image :
Replace splash image name in grub.conf with new one.Code:convert picture.jpg -resize 640x480 -colors 14 splash2.xpm gzip splash2.xpm mv splash2.xpm.gz /boot/grub/
Code:splasimage=(hd0,1)/grub/splash2.xpm.gz
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-29-2009 #6
thank you cho much generous devil...
thanks vickey for initiating this conversation.. 
Btw, I searched web after this and they say
Will the above command splashimage=(....) is also correct?Code:splashimage (hd0,1)/grub/splash.xpm.gz
A candle looses nothing by lighting other candles. - Khalil Zibran.
Registered Linux User #490076
- 05-29-2009 #7
- 05-29-2009 #8
- 05-29-2009 #9
Hi saivin !
Glad to help you !
splashimage=image_path is default in most distros including Fedora and Ubuntu.
It work fine without = sign in a few distros like OpenSUSE.
Actually, OpenSUSE uses modified grub scripts and started using gfxmenu first time instead of splashimage and it doesn't use = sign.
I will try splashimage without = sign in Ubuntu and let you know.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-29-2009 #10It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote
