How to configure sudoers with path wildcards?

Posted by C. Lee on Stack Overflow See other posts from Stack Overflow or by C. Lee
Published on 2010-04-09T22:11:52Z Indexed on 2010/04/09 22:13 UTC
Read the original article Hit count: 347

Filed under:
|
|

Hi, I need sudo for a command for any path under a particular area. Example:

sudo mycommand /opt/apps/myapp/...

What is the sudoers syntax to allow this command to run in any path that falls under /opt/apps/myapp? This is Solaris 10 sudo.

Thanks.

© Stack Overflow or respective owner

Related posts about sudo

Related posts about sudoers