running a shell script in automator with admin privileges
running a shell script in automator with admin privileges
- Subject: running a shell script in automator with admin privileges
- From: Brett George <email@hidden>
- Date: Wed, 24 Oct 2007 19:54:31 -0700
I have a simple automator workflow that asks for confirmation before
running a shell script. The shell script needs to run as root and
calling the commands with "sudo" doesn't prompt the user to
authenticate. Prior to running the shell script, I have also tried
running a simple apple script with
do shell script "echo test" with administrator privileges
but the commands are still not authenticated properly.
As the shell script is complicated, I would prefer to avoid having to
write a bunch of wrappers for it in AppleScript.
Is there another way I can get authentication for the shell script?
Thanks,
Brett.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden