26.05.2019 11:50, Per Jessen пишет:
David C. Rankin wrote:
On 05/25/2019 02:05 AM, Per Jessen wrote:
It is essentially your install "with no-recommends" that causes the issue for you - but if pam and sudo actually _need_ group wheel, they ought to have "requires group(wheel)".
They do, just su to root and type 'visudo', scroll to bottom:
## Uncomment to allow members of group wheel to execute any command # %wheel ALL=(ALL) ALL
## Same thing without a password %wheel ALL=(ALL) NOPASSWD: ALL
In my default config, it is all commented out.
And in other distributions none of these entries exists at all by default.
Doesn't make a whole lot of sense to have 'sudo' install without 'wheel' when upstream on 'sudo' expects it to be present for its default config.
a) did you bother to actually look at *upstream* at all? Example sudoers included upstream does not mention any wheel group at all. b) Example sudoers upstream also includes such entries as # fred can run commands as oracle or sybase without a password fred ALL = (DB) NOPASSWD: ALL # on the alphas, john may su to anyone but root and flags are not allowed john ALPHA = /usr/bin/su [!-]*, !/usr/bin/su *root* # jen can run anything on all machines except the ones # in the "SERVERS" Host_Alias jen ALL, !SERVERS = ALL Does it mean that every distribution must now create users with these names and these privileges?
Maybe 'sudo' ought to have a "requires group(wheel)" ? I don't use sudo very often.
It was already explained on factory list that sudo does not *need* wheel. The above is just example; it does not mean group name *must* be wheel. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org