On Tue, 27 Oct 2009 14:43:36 +0100, Jeroen Massar <jer...@unfix.org> wrote:
To just add a password which thus doesn't allow editing of boot
entries: 8<-------------------------------------------------------
jeroen@purgatory:~$
cat /etc/grub.d/42_password
#!/bin/sh
exec tail -n +1 $0
# add a password so that grub entries can't be edited

set superusers="jeroen" password jeroen mypassword
------------------------------------------------------->8

Are you sure that the

  exec tail -n +1 $0

does not need to be

  exec tail -n +3 $0

instead?

Regards,
Niki



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to