Results 1 to 9 of 9
Hey there
I wanted to put password in lilo.conf file. I added this line but doesn't seem to work out
Code:
password=vickey
. I also did
Code:
lilo -v
Is ...
- 05-27-2009 #1
Putting password in lilo.conf
Hey there
I wanted to put password in lilo.conf file. I added this line but doesn't seem to work out. I also didCode:password=vickey
Is there any thing missingCode:lilo -v
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #2
Have you execute lilo command without any option after editing lilo.conf file?
Edit lilo.conf file, save it and execute lilo command.
In case it doesn't work, post the contents of lilo.conf here.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-28-2009 #3
thanks
I simply edited the file and put the 'password' line in the file. Followed by
as far as I knw it updated the entry in the MBR.Code:lilo -v
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #4
Post the contents of lilo.conf file here.
Here is sample of working lilo.conf file :
Code:default="windows1" boot=/dev/hda map=/boot/map keytable=/boot/us.klt menu-scheme=wb:bw:wb:bw compact prompt nowarn timeout=100 message=/boot/message image=/boot/vmlinuz password=xxxxxxxx label="linux" root=/dev/hda5 initrd=/boot/initrd.img append=" splash=silent" vga=788 image=/boot/vmlinuz label="linux-nonfb" root=/dev/hda5 initrd=/boot/initrd.img image=/boot/vmlinuz label="failsafe" root=/dev/hda5 initrd=/boot/initrd.img append=" failsafe" other=/dev/hda1 label="windows" table=/dev/hda other=/dev/hda2 label="windows1" table=/dev/hdaIt is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 05-28-2009 #5
grub!!!
I need a little more help !!
I have installed grub using this commandnow I m trying to restore liloCode:grub-install /dev/hda
But still It's not workingCode:lilo -v
Here are the contents of the lilo.confCode:prompt #prompt is used to tel lilo to show watevr is refrenced in message file timeout=50 #time in deciseconds after which default OS is loaded default=DOS #the default operating system to boot boot=/dev/hda #tells lilo to install itself on the hda map=/boot/map #locates the map file install=/boot/boot.b #tells lilo to install this file as the new boot sector #the above file is default if the install line is missing message=/boot/message #the msg refers to screen tat lilo displays lba32 #could be linear password=vickey image=/boot/vmlinuz-2.4.21-4.EL #the linux kernel to boot label=linux #the OS initrd=/boot/initrd-2.4.21-4.EL.img #helps in booting the kernel read-only append="root=LABEL=/" other=/dev/hda1 optional label=Wind$
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #6
I hope those extra space around the '#' are'nt spoling the party
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #7
got it , I learned a lesson never to mess around with the conf files. Luckly had a backup and replaced the modified file with the orignal file and everything worked like cream!!
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #8
Just verifying
I read it some where that it is not possible to use restricted without password??
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu
- 05-28-2009 #9
Thats correct and if you use restricted keyword without password, it won't make any sense.
restricted keyword disables extra argument passing to Lilo. You have to use password to pass arguments. In case you don't use password keyword, restricted option will not work.
Check here for more details.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote