Re: applescript for enabling root user...
Re: applescript for enabling root user...
- Subject: Re: applescript for enabling root user...
- From: Andrew Oliver <email@hidden>
- Date: Mon, 12 Dec 2005 09:22:12 -0800
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.
Andrew
:)
_______________________________________________
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