Re: run as root
Re: run as root
- Subject: Re: run as root
- From: Steve Hayman <email@hidden>
- Date: Tue, 2 May 2006 15:50:03 -0400
I know how to run an applescript/shell script with the prompt for
admin authentication, but how about root?
It is running as root when you prompt for admin authentication.
e.g. Try this
do shell script "whoami" with administrator privileges
That prompts for admin credentials, and then runs the "whoami"
command, and the output of that is "root", indicating the script is
running as root.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >run as root (From: Jeremy Matthews <email@hidden>) |