Älter Neuer
Sun, 16 Dec 2007 12:05:08 . . . . Hermann [Formatierung]


Änderungen des letzten Autors:


= Lilo und Passwoerter ... =

Hier mal drei Einsatzmoeglichkeiten fuer lilo mit Passwortschutz!

Bitte daran denken das in der lilo.conf die Passwoerter im Klartext stehen !!

1. Alle Images mit einem Passwort schuetzen!

<code>
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
</code>
2. Zwei unterschiedliche Passwoerter verwenden!
<code>
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
</code>
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)
<code>
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
</code>

----
Autor: [http://www2.math.uni-potsdam.de/agenda/ Frank], Datum: 11. June 2001, 15:23:15 CEST