On 7/28/09 at 10:45 PM, Emmett Gray <[log in to unmask]>
spake thusly:
>This only asks for the password, but if you want to actually
>invoke administrator privileges inside a shell script, you
>would write
>
>do shell script "sudo foo" with administrator privileges
Not true. See -
<http://developer.apple.com/technotes/tn2002/tn2065.html>
Specifically see the question labeled -
"Q: How do I get administrator privileges for a command?"
J
--
The views expressed here do not necessarilly represent the
unanimous view of all parts of my mind.