set password to boot lilo ??
Hello Everybody,
I have given my lilo.conf file below.i wanted to give a password when lilo is booting.what should i do ,and it also not boot in "single" mode. Hitesh ------------------------------ boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=100 message=/boot/message linear default=StgLinux image=/boot/vmlinuz-2.2.16-22 label=StgLinux root=/dev/hda2 read-only restricted password=stglinux other=/dev/hda1 label=Windows 2000 ------------------------------------ |
that will only ask for a password when you DO specify single or such like, i.e. override system defaults. if you want a complete password, i'd recommend using a bios password as well. rememebr to run "lilo" after you edit the conf file of course...
|
Only Single User Mode
This will ask for password when you are trying fr Single User Mode through "linux single" or -S.It will not help you for everytime asking for password when you are booting in normal mode.
:Pengy: |
Re: Only Single User Mode
Quote:
-trickykid |
Re: Re: Only Single User Mode
Quote:
restricted A password is only required to boot the image if parameters are specified on the command line (e.g. 'single'). |
actually this isn't totally secure though when you place a password in your lilo.conf. though when using this option, its good to have the file so its only readable by root. but i guess the man pages are stating its only really necessary to have password to prevent users to booting into single mode so they can't gain root access on the system, cause if you use a password, it will prompt for the password in any mode you select at startup.
|
All times are GMT -5. The time now is 01:34 AM. |