Bug#545163: How to add a password to grub-pc

2015-01-03 Thread Yann Dirson
Nowadays, /etc/grub.d/40_custom provides a nice place for the "set superusers" and "password*" commands But that's not sufficient, as it requires the allowed boot entries to be marked --unrestricted, which no script appears to support yet. I am adding myself --unrestricted to the CLASS definition

Bug#545163: How to add a password to grub-pc

2011-03-11 Thread Nikolaus Hammler
On Tue, 27 Oct 2009 14:43:36 +0100, Jeroen Massar 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 e

Bug#545163: How to add a password to grub-pc

2009-10-27 Thread Jeroen Massar
It is not too hard to just have a password which blocks people from editing the grub options (and thus let them do init=/bin/sh). That in combo with a proper BIOS lock from booting from anything else but the main disk will at least deter people from quickly changing the disk. Of course as they have