Hier mal drei Einsatzmoeglichkeiten fuer lilo mit Passwortschutz!
Bitte daran denken das in der lilo.conf die Passwoerter im Klartext stehen !!
boot=/dev/hda
root=/dev/hda1
install=/boot/boot.b
map=/boot/map
vga=normal
delay=0
password=foobar
image=/boot/bzImage-2.3.9
label=dev
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
image=/boot/bzImage-2.2.10
label=stable
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
2. Zwei unterschiedliche Passwoerter verwenden!
boot=/dev/hda
root=/dev/hda1
install=/boot/boot.b
map=/boot/map
vga=normal
delay=0
image=/boot/bzImage-2.3.9
label=dev
password=foo
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
image=/boot/bzImage-2.2.10
label=stable
password=bar
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
3. Beide Images sind mit einem passwortgeschuetzt aber der Kernel (dev) kann ohne Angabe eines Passwortes geladen werden, wenn keine Kernel-Parameter angegeben werden! (z.B. single user mode)
root=/dev/hda1
install=/boot/boot.b
map=/boot/map
vga=normal
delay=0
password=foobar
image=/boot/bzImage-2.3.9
label=dev
restricted
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
image=/boot/bzImage-2.2.10
label=stable
append="video=pm2fb:mode:1024x768-illo,font:SUN12x22,ypan"
read-only
Autor: [Frank], Datum: 11. June 2001, 15:23:15 CEST