[102464] in RedHat Linux List
Re: LILO Security problem
daemon@ATHENA.MIT.EDU (Federico Strati)
Thu Dec 3 08:34:06 1998
Date: Thu, 03 Dec 1998 13:27:00 +0000
From: Federico Strati <fstrat@essex.ac.uk>
To: redhat-list@redhat.com
CC: scagnett@dimi.uniud.it
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Hello,
modify the lilo.conf adding the 'restricted' and 'password' entries like the
following (don't forget to rerun lilo after that!:-):
-------------lilo.conf-------------------
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
compact
prompt
timeout=200
default=linux
image=/boot/vmlinuz-2.0.36-1
label=rescue
root=/dev/hdb1
read-only
alias=rr
restricted
password=YOUR_BIG_SECRET
image=/boot/vmlinuz-2.0.36-1-custom
label=linux
root=/dev/hdb1
read-only
alias=ll
restricted
password=YOUR_BIG_SECRET
other=/dev/hda1
label=dos
table=/dev/hda
alias=crap
-----------end lilo.conf--------------
YOUR_BIG_SECRET... will be your 'single' boot passwd,
I didn't try, but only 'restricted' maybe will prompt you for the root passwd:-).
Hope that helps
ciao fede
--
<Mailed with Pine 4.04 or Netscape 4.5 on Linux>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fstrat@essex.ac.uk, fstrati@tin.it == Federico Strati
Department of Physics - University of Essex
Wivenhoe Park - Colchester C04 3SQ - UK
Tel. +44 / (0)1206 / 87.3775 Office
Tel. +44 / (0)1206 / 87.4268 Home
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.