On 07/11/2016 02:15 PM, Robert Nichols wrote:
On 07/11/2016 12:13 PM, bruce wrote:
the change I made
cat ALL=(ALL) NOPASSWD: /cat/*.*

That is granting cat the right to run commands as cat, i.e., it's pretty
much a no-op. Try

      dog ALL=(ALL) NOPASSWD: /cat/*.*

That would allow dog to run the commands as any user including root.

dog ALL = (cat) NOPASSWD: /cat/

is all that is needed.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to