• 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: sudo permission in a script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sudo permission in a script


  • Subject: Re: sudo permission in a script
  • From: "koenig.yvan" <email@hidden>
  • Date: Wed, 17 Sep 2014 17:02:50 +0200


Le 17/sept./2014 à 16:53, okn <email@hidden> a écrit :


Hi & good day,

How to run a shell in a script when the sudo permission is needed?

It would be awkward to have to give the permission every time.


This is the script:

Omnifocus to Day One daily log of completed tasks

http://jeredb.com/omnifocus-to-day-one-daily-log-of-completed-tasks

and here is the command line:

ln -s "/Applications/Day One/Day One.app/Contents/MacOS/dayone" /usr/local/bin/dayone


The official scheme is :

do shell script <your Unix command line> with administrator privileges


Yvan KOENIG (VALLAURIS, France) mercredi 17 septembre 2014 17:02:13





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >sudo permission in a script (From: okn <email@hidden>)

  • Prev by Date: sudo permission in a script
  • Next by Date: Re: sudo permission in a script
  • Previous by thread: sudo permission in a script
  • Next by thread: Re: sudo permission in a script
  • Index(es):
    • Date
    • Thread