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.