• 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: Omar K N <email@hidden>
  • Date: Wed, 17 Sep 2014 19:59:03 +0200



@Kevin, Thanks, I hadn’t seen it.

@Yvan,

Ok, but if I don’t have any security problems, then how to pass by a password, so there is no need to enter it every time?


do shell script "echo " & (quoted form of ExportList) & "|tr -d \"\\t\"|/usr/local/bin/dayone new" with administrator privileges



with best regards,
Omar K N
Stockholm, Sweden


On 17 Sep 2014, at 17:30, email@hidden wrote:

If I understand correctly your script, the instruction is executed only once so it’s not a big problem compared to security problems involved by a scheme passing the required password.

 _______________________________________________
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

  • Follow-Ups:
    • Re: sudo permission in a script
      • From: "koenig.yvan" <email@hidden>
  • Prev by Date: Re: sudo permission in a script
  • Next by Date: missing Path?
  • Previous by thread: Re: sudo permission in a script
  • Next by thread: Re: sudo permission in a script
  • Index(es):
    • Date
    • Thread