Re: applescript for enabling root user...
Re: applescript for enabling root user...
- Subject: Re: applescript for enabling root user...
- From: Emmanuel <email@hidden>
- Date: Mon, 12 Dec 2005 18:26:11 +0100
At 9:22 AM -0800 12/12/05, Andrew Oliver wrote:
On 12/12/05 9:10 AM, "Bernardo Hoehl" <email@hidden> wrote:
Hi List,
I have this applescript studio app that passes some "do shell script"
commands as user "root".
Why are you running any commands as user root?
You should use 'do shell script's '... with administrator privileges' option
to authenticate the user and gain root privileges.
do shell script "blah -blah" with administrator privileges
This will make sure the user has authority to execute the command and does
not require the root account to be active.
My $0.02 here: I think you have to use different commands depending
whether in Tiger or in Panther.
Emmanuel
_______________________________________________
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