Re: sudo permission in a script
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
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