On Wednesday 04 February 2004 03:23 pm, Rick Weinbender wrote:
> Can I use SUDO within a bash script?

Absolutely, though be aware that if sudo is set to require a password, you 
won't be able to run it in the background.

By putting NOPASSWD before the command in /etc/sudoers, sudo will not 
require a password to run that command.

Adam


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to