How to configure sudoers with path wildcards?

Posted by C. Lee on Super User See other posts from Super User or by C. Lee
Published on 2010-04-09T22:11:52Z Indexed on 2010/04/10 0:43 UTC
Read the original article Hit count: 612

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.

© Super User or respective owner

Related posts about sudo

Related posts about sudoers