Re: New Member Request for Guidance

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
What you have described looks like it should work.
However, since sudo uses the last match, it is possible that
the rule:

    user ALL=(ALL) NOPASSWD: /usr/bin/rsync

is being overridden by another rule.  For example, if you have:

    user ALL=(ALL:ALL) ALL

*after* the rsync rule, it will take precedence and since it
doesn't have the NOPASSWD tag, you will be asked for a password.

The output of "sudo -l" can be helpful in determining the order of
the rules.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.