On Sun, Jan 9, 2011 at 10:04 AM, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
password --md5 $supercalifragilistic.
title Fedora (2.6.27.25-78.2.56.fc9.i686)
lock
root (hd0,1)
kernel /vmlinuz-2.6.27.25-78.2.56.fc9.i686 ro root=/dev/VolGroup00/LogVol00 quiet
initrd /initrd-2.6.27.25-78.2.56.fc9.i686.img
title Fedora (2.6.27.24-78.2.53.fc9.i686)
lock
root (hd0,1)
kernel /vmlinuz-2.6.27.24-78.2.53.fc9.i686 ro root=/dev/VolGroup00/LogVol00 quiet
initrd /initrd-2.6.27.24-78.2.53.fc9.i686.img
title Memtest86+ (2.11)
root (hd0,1)
kernel --type=netbsd /elf-memtest86+-2.11
Okay you have kept the password line at the top, so in the boot sequence one has to enter that password for the first two titles (for two Fedora kernels) but for the last title (here Memtest86+), there is not encrypted password. If we want to use the same password for this too, we can insert the 'lock' command just after the line
title Memtest86+ (2.11)
so that the same encrypted password would be required for this to boot. But if a different password is required, we should enter it above the line
title Memtest86+ (2.11)
so that it looks:
password --md5 $differentpassword
title Memtest86+ (2.11)
lock
root (hd0,1)
kernel --type=netbsd /elf-memtest86+-2.11
so that while editing grub through remote place, it is at all not possible without entering the password because the password --md5 line is above the title line.
--
Regards,
Parshwa Murdia
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines