Do shell script question - non sudoer user
Do shell script question - non sudoer user
- Subject: Do shell script question - non sudoer user
- From: Bernardo Hoehl <email@hidden>
- Date: Sat, 22 Jan 2005 18:18:54 -0200
Hi List!
I have a little AS Studio app that sends out HTML enclosed emails.
The app works fine with me, the administrator of my Box. It uses Postfix to send out the emails.
I am trying to port the app to a non administrator user, but get stuck with administrator privileges.
The original line is:
do shell script "sendmail -bm " & theDestinationEmailAdress & " < " & PathToTextFile
It seems that such a command requires administrator privileges a so, it doens't work.
I tried changing it to :
do shell script "sendmail -bm " & theDestinationEmailAdress & " < " & PathToTextFile password ThePassword with administrator privileges
Then I get the usual "think before you type and respect other users privacy" message as a return of the do shell script line, and the script doesn't work.
Any clues to overide the problem?
Thanks,
Bernardo Höhl
Rio de Janeiro - Brazil
_______________________________________________
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