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/*.*

Wouldn't it be easier to create a group that both cat and dog belong to, have the files owned by cat (and that group) and give the files execute access by everybody in the group? That gives dog access to the specific commands it needs but nothing else in cat's home folder.
--
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