greycat 1203712186 learn To use sudo commands in a script (without prompting for a password), put something like this into the sudoers(5) file: username ALL = NOPASSWD: /some/program