-
-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarification in man page around command comma-list parsing #184
Comments
I can't reproduce this, the NOPASSWD tags gets inherited with your first example. There does appear to be a bug in the |
A new line is started when RunAs changes which means we need to display the command tags and options again. GitHub issue #184
Interesting. v1.9.9 definitely requires a password for
|
That is because you are trying to run id as root, not nobody. If you run |
Oh boy, you're right, my bad :) |
The man page says:
And defines a
Cmnd_Spec_List
as a comma-separated list ofCmnd_Spec
, andCmnd_Spec
including an optionalRunas_Spec
. It sounds like in the following entry:the
id
Cmnd_Spec
should inherit theNOPASSWD
tag, but in fact it doesn't. The tag is inherited only if subsequentCmnd
s in the list don't include aRunas_Spec
, e.g. the following cases:Is this intended or a bug? If intended, the man page should state it.
The same applies to the propagation/inheritance of Selinux specifications.
The text was updated successfully, but these errors were encountered: