[sudo-users] Question on SUDO syntax
Gonzalez, Aliep
aliep.gonzalez at rbc.com
Mon Apr 26 17:54:38 EDT 2010
What is the correct syntax in /etc/sudoers for running "sudo -i -u userB
/path_to_scriptB" as userA without providing a password ?
I can get this to work but I am always prompted for userB's password,
which is kind of inconvenient.
I would like to avoid using "sudo su - userB -c /path_to_scriptB" if
possible.
Env: sudo 1.7.2p1 on solaris 9
Thanks,
-Al
_______________________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does not waive
any related rights and obligations. Any distribution, use or copying of this e-mail or the information
it contains by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courriel peut contenir des renseignements protégés et confidentiels.
Lexpéditeur ne renonce pas aux droits et obligations qui sy rapportent.
Toute diffusion, utilisation ou copie de ce courriel ou des renseignements quil contient
par une personne autre que le destinataire désigné est interdite.
Si vous recevez ce courriel par erreur, veuillez men aviser immédiatement,
par retour de courriel ou par un autre moyen.
More information about the sudo-users
mailing list