<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I had assumed sudo rules worked because I have an "allow_all for admins" sudo rule that seemed to work, but I wonder if there is an implicit rule for the special group admins ? <br><br><br></div>Because I have tried to replicate this allow_all rule for for other user groups, and it does not seem to work at all. <br></div>What's strange is that "sudo -l"  report the appropriate rules, but they do not work. <br><br></div>For instance, some users have: (ALL) ALL listed with sudo -l, but they can not use sudo.<br><br></div>My user has:<br>    (root) NOPASSWD: /usr/bin/git status, /usr/local/bin/git status<br>    (ALL) ALL<br>    (root) NOPASSWD: /bin/chgrp qbstaff *, /bin/chmod g[+-]* *, /bin/chmod -R g[+-]* *<br>    (ALL) NOPASSWD: /usr/bin/less<br>    (ALL) ALL<br><br></div>but I'm prompted a password when doing "sudo  /usr/bin/less".<br><br></div>How can I debug this ? <br><br></div>Best regards,<br><br></div>Karl<br></div>