Tips and Tricks
Keep all tips and tricks learned in one place.
Saturday, June 11, 2011
execute sudo commands in a bash script without password
visudo -f /etc/sudoers
user ALL=(ALL) NOPASSWD: ALL
user ALL=(ALL) NOPASSWD: /home/user/script
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment