Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #165576
| From | Raj Kiran Grandhi <grajkiran@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Password protecting grub |
| Date | 2016-03-18 14:40 +0100 |
| Message-ID | <re2Nd-6re-23@gated-at.bofh.it> (permalink) |
| References | (6 earlier) <rdnK2-3Gs-23@gated-at.bofh.it> <rdnK2-3Gs-25@gated-at.bofh.it> <rdnK2-3Gs-17@gated-at.bofh.it> <rdzBw-3yk-5@gated-at.bofh.it> <rdJrc-1sp-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
> > But, be advised that once you do this, all the menu entries in grub will
> be
> > inaccessible until the password is supplied.
> > It would be nice to have a way of requiring a password only if it
> required
> > to boot a non-default entry.
>
> That's what
> menuentry "May be run by any user" --unrestricted {
> is for. The documentation example runs thus:
>
>
Yes, I had read through that. But that would mean editing
/boot/grub/grub.cfg manually and losing the changes every time grub-update
is run. What I could not figure out was to having the --unrestricted be
appended automatically for the default entry (In my case, GRUB_DEFAULT=0
which boots the default kernel) every time grub-update was run.
An alternate and equally acceptable solution for me would be to require a
password only to a access the grub console or to edit the menu entries
interactively during boot. I had such a setup back when grub-legacy was the
default in debian but could not achieve the same results with grub2.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Password protecting grub Himanshu Shekhar <irm2015006@iiita.ac.in> - 2016-03-16 12:40 +0100
Re: Password protecting grub jdd <jdd@dodin.org> - 2016-03-16 13:10 +0100
Re: Password protecting grub Himanshu Shekhar <irm2015006@iiita.ac.in> - 2016-03-16 13:20 +0100
Re: Password protecting grub jdd <jdd@dodin.org> - 2016-03-16 13:30 +0100
Re: Password protecting grub <tomas@tuxteam.de> - 2016-03-16 13:50 +0100
Re: Password protecting grub <tomas@tuxteam.de> - 2016-03-16 13:30 +0100
Re: Password protecting grub David Wright <deblis@lionunicorn.co.uk> - 2016-03-16 15:30 +0100
Re: Password protecting grub Himanshu Shekhar <irm2015006@iiita.ac.in> - 2016-03-16 17:30 +0100
Re: Password protecting grub arian <debian@semioptimal.net> - 2016-03-16 17:40 +0100
Re: Password protecting grub jdd <jdd@dodin.org> - 2016-03-16 18:00 +0100
Re: Password protecting grub Himanshu Shekhar <irm2015006@iiita.ac.in> - 2016-03-16 18:50 +0100
Re: Password protecting grub Raj Kiran Grandhi <grajkiran@gmail.com> - 2016-03-17 07:30 +0100
Re: Password protecting grub David Wright <deblis@lionunicorn.co.uk> - 2016-03-17 18:00 +0100
Re: Password protecting grub Raj Kiran Grandhi <grajkiran@gmail.com> - 2016-03-18 14:40 +0100
Re: Password protecting grub David Wright <deblis@lionunicorn.co.uk> - 2016-03-18 16:30 +0100
Re: Password protecting grub Adam Wilson <moxalt@riseup.net> - 2016-03-17 17:10 +0100
Re: Password protecting grub Martin Smith <lists@rakupottery.org.uk> - 2016-03-17 18:10 +0100
Re: Password protecting grub Lisi Reisz <lisi.reisz@gmail.com> - 2016-03-17 18:40 +0100
Re: Password protecting grub Adam Wilson <moxalt@riseup.net> - 2016-03-17 17:10 +0100
csiph-web