[sudo-users] Passing password to sudo
alex_chen at filemaker.com
Tue Apr 21 17:28:29 EDT 2009
Is there a way to invoke sudo so that the password can be passed as a
command line parameter instead of manually typing in?
We want to use 'sudo' to execute scripts under certain user's name
programmatically, e.g. launch sudo via 'exec', and pass the user's password
directly to sudo non-interactively.
We looked at the sudo man page but could not find anything that allows
us to do so.
Any help will be greatly appreciated.
More information about the sudo-users