using sudo to execute script as another user
shj at pine.dk
Mon Aug 26 11:57:02 EDT 2002
i have installed and configured sudo and it seems to work ok, but i do have
I want to execute a script from user "bb" as user "el" with el environment.
When i do sudo -u el -s /opt/script/myscript.pl the script execute alright
but it fails duo to the wrong invironment.
if i do su - el -c /opt/script/myscript.pl from bb it works fine but promts
me for passwd.
I want to use sudo so that i can use it for set f.eks in bb crontab etc.
Is it possible or am i bound to use the root crontab for this one.
Pine Tree Systems A/S
Email: shj at pine.dk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sudo-users