meaning of absent --users prameters.
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
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 13 lines · Vladimir 'φ-coder/phcoder' Serbinenko
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
First, what is the definition of a 'superuser'? Where does GRUB get the information to make a decision.
In any case, I'd recommend
--users: superusers only
or even
--users: superusers
-------
-- Bruce
Quoted 15 lines · Bruce Dubbs
Quoted 13 lines · Vladimir 'φ-coder/phcoder' Serbinenko
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
Quoted 3 lines
First, what is the definition of a 'superuser'? Where does GRUB get the information to make a decision.
Superusers are set on per-configuration basis with
set superusers=<list>
these users are allowed to invoke shell and edit menu entries so there is no reason to restrict which entries they are allowed to boot.
Quoted 7 lines
In any case, I'd recommend
--users: superusers only
or even
--users: superusers
I don't get what you mean
Quoted 9 lines
-------
-- Bruce_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 22 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 14 lines · Bruce Dubbs
Quoted 13 lines · Vladimir 'φ-coder/phcoder' Serbinenko
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 --unlockedQuoted 3 lines
First, what is the definition of a 'superuser'? Where does GRUB get the information to make a decision.
Superusers are set on per-configuration basis with
set superusers=<list>
these users are allowed to invoke shell and edit menu entries so there is no reason to restrict which entries they are allowed to boot.
Quoted 8 lines
Quoted 7 lines
In any case, I'd recommend
--users: superusers only
or even
--users: superusers
I don't get what you mean
I thought you were asking about a parameter to the menuentry command
menuentry "name" --users "a,b,c" {I was recommending
menuentry "name" --users superusers {Where superusers is a keyword implying all superusers.
-- Bruce
Quoted 35 lines · Bruce Dubbs
Quoted 23 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 15 lines · Bruce Dubbs
Quoted 14 lines · Vladimir 'φ-coder/phcoder' Serbinenko
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 --unlockedQuoted 3 lines
First, what is the definition of a 'superuser'? Where does GRUB get the information to make a decision.
Superusers are set on per-configuration basis with
set superusers=<list>
these users are allowed to invoke shell and edit menu entries so there is no reason to restrict which entries they are allowed to boot.Quoted 8 lines
Quoted 7 lines
In any case, I'd recommend
--users: superusers only
or even
--users: superusers
I don't get what you mean
I thought you were asking about a parameter to the menuentry command
Quoted 8 lines
menuentry "name" --users "a,b,c" {I was recommending
menuentry "name" --users superusers {Where superusers is a keyword implying all superusers.
Actually the real question is about interpretation of missing --users. Actually your suggestion --users superusers has a problem that user "superusers" may actually exist. BTW:
menuentry "name" --users $superusers {
is already accepted
Quoted 8 lines
-- Bruce
_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
Signature · 2 lines
Regards Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 5 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Actually the real question is about interpretation of missing --users. Actually your suggestion --users superusers has a problem that user "superusers" may actually exist. BTW:
menuentry "name" --users $superusers {
is already accepted
OK. Sorry for the noise.
-- Bruce
Quoted 13 lines · Vladimir 'φ-coder/phcoder' Serbinenko
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
Signature · 3 lines
Robert Millan "Be the change you want to see in the world" -- Gandhi