• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: applescript for enabling root user...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: applescript for enabling root user...
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: applescript for enabling root user... (From: Andrew Oliver <email@hidden>)

  • Prev by Date: Re: applescript for enabling root user...
  • Next by Date: shell script doesn't run when run as cron job?
  • Previous by thread: Re: applescript for enabling root user...
  • Next by thread: Re: applescript for enabling root user...
  • Index(es):
    • Date
    • Thread