my /etc/sudoers file was configured with
%users ALL=NOPASSWD: /usr/local/bin/puppet agent -t
but then I was not allowed to run
sudo puppet agent -tv
and I get a
Sorry, user soa is not allowed to execute '/usr/local/bin/puppet agent -tv' as root on osb-vagrant.acme.com.
A good workaround is to use regexp:
%users ALL=NOPASSWD: /usr/local/bin/puppet agent -[a-z]*
Wednesday, March 5, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment