Running Script as root using Sudo
Running Script as root using Sudo
- Subject: Running Script as root using Sudo
- From: Chris Prew <email@hidden>
- Date: Wed, 27 Feb 2002 08:31:27 -0600
Hi, I9m trying to run an Applescript using the OSAX that allows you to run
terminal commands. I9m trying to figure out a way to run a script while
logged into the OS X box as a standard user; but the script I9m running
needs root access. So I need to run a sudo command in the script.
Has anyone been able to get sudo to run from a script using stdin for the
password (so the script can run unattended and doesn9t need someone to type
in a password)? If so, I9d appreciate the syntax. I can9t seem to make it
work.
Thanks in advance
Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.