Re: Running Script as root using Sudo
Re: Running Script as root using Sudo
- Subject: Re: Running Script as root using Sudo
- From: garbanzito <email@hidden>
- Date: Wed, 27 Feb 2002 19:32:41 -0700
at 2002 02 27, 11:46 -0800, they whom i call Christopher Nebel wrote:
or better yet,
do shell script "command" with administrator privileges [password
"password"]
okay, that's great! thanks.
i think that is the first mention on this list, and it's not
in the 1.8.1 release notes, but it is in the dictionary. and
many of us had been futzing around with sudo all this
time....
experimenting with this, making non-blocking processes,
do shell script "sleep 600 >/dev/null 2>&1 &" with administrator privileges
i notice that it sets the sudo time-stamp, so that when i go
to kill the above-created process via Terminal & sudo, no
password is requested.
--
steve harley email@hidden
_______________________________________________
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.