The Right Thing(tm) to do is to append the following 2 lines:

parrword=whatever
restricted

at the end of the linux section of /etc/lilo.conf

Mine, for example looks like this:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=30
vga=7
image=/boot/vmlinuz
        label=linux
        root=/dev/hda1
        read-only
        password=foo       #<---
        restricted         #<---
other=/dev/hdc1
        label=msdos
        table=/dev/hdc
        loader=/boot/any_d.b
        password=foo

The `restricted' option causes LILO to boot Linux without a password,
but if someone tries to pass any options to the kernel (including 
single), they'll be asked for one.

Hope this solves your problem.

sb.


-- 
 "Men of lofty genius are most active
        when they are doing the least work".
                           -- Leonardo da Vinci




-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to