• 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
Do shell script question - non sudoer user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Do shell script question - non sudoer user
      • From: daniel <email@hidden>
    • Re: Do shell script question - non sudoer user
      • From: Emmanuel <email@hidden>
  • Prev by Date: Content of message - Apple's Mail app
  • Next by Date: Re: ssh login with password script
  • Previous by thread: Re: Content of message - Apple's Mail app
  • Next by thread: Re: Do shell script question - non sudoer user
  • Index(es):
    • Date
    • Thread