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