|
grub passwords?
Generate one with:
# grub-md5-crypt
copy the encryption hash
edit /boot/grub/grub.conf
and put:
password --md5 <insert encryption hash>
Here's an example:
title Ubuntu, kernel 2.6.8.1-2-386 (recovery mode)
root (hd1,2)
kernel /boot/vmlinuz-2.6.8.1-2-386 root=/dev/hdb3 ro single
initrd /boot/initrd.img-2.6.8.1-2-386
password --md5 $1$w7Epf0$vX6rxpozznLAVxZGkcFcs.
See the final entry, this will stop ubuntu from being editied (can still be booted..)
Last edited by JamesChamberlain; 11-09-2009 at 09:22 AM..
|