From: Robert Millan <rmh@aybabtu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Colin Watson <cjwatson@ubuntu.com>
Subject: Re: meaning of absent --users prameters.
Date: Thu, 7 Jan 2010 20:06:19 +0100 [thread overview]
Message-ID: <20100107190619.GG12029@thorin> (raw)
In-Reply-To: <4B1BF3BF.9010900@gmail.com>
On Sun, Dec 06, 2009 at 07:11:11PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote:
> Hello. Currently authentication system works as following:
>
> menuentry "name" --users "a,b,c" {
> }
> Means that only superusers and users "a", "b" and "c" are permitted to
> boot this menuentry. To allow only superusers to boot an entry one would
> need:
> menuentry "name" --users "" {
> }
> And absence of --users means "anyone can choose this entry".
> Unfortunately this is error-prone. Does anyone oppose to change it to:
> No --users: only superusers
> To have an unlocked entry you have to add --unlocked
I agree this is error-prone and encourages insecure ways of using GRUB.
However, this has the potential to render system unbootable if user made
a mistake. I think that should be avoided too.
How about:
"--locked" == only superusers can boot
"--locked --users a,b,c" == only a,b,c and superusers can boot
"" == everyone can boot
--
Robert Millan
"Be the change you want to see in the world" -- Gandhi
prev parent reply other threads:[~2010-01-07 19:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-06 18:11 meaning of absent --users prameters Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-06 18:30 ` Bruce Dubbs
2009-12-06 18:37 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-06 18:50 ` Bruce Dubbs
2009-12-06 19:08 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-12-06 19:13 ` Bruce Dubbs
2010-01-07 19:06 ` Robert Millan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100107190619.GG12029@thorin \
--to=rmh@aybabtu.com \
--cc=cjwatson@ubuntu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.