My Tech Notes
Search This Blog
Allow a user to run only a specific command with sudo
run
sudo visudo
and add the line like below:
wilson ALL=(ALL) NOPASSWD: /full/path/to/command arg1
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment