• 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 getting NSReceiverEvaluationScriptError: 4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell script getting NSReceiverEvaluationScriptError: 4


  • Subject: do shell script getting NSReceiverEvaluationScriptError: 4
  • From: email@hidden
  • Date: Fri, 18 Jul 2003 07:32:18 -0400

Context: found my iMac hadn't run the housekeeping scripts at all despite
being left running. Probably if a Mac is sleeping zippo happens.

Decided to write an Applescript to run the scripts for the 'fun' of it.
"/private/etc/daily" runs fine but however I try to run
"/private/etc/weekly" I get a "NSReceiverEvaluationScriptError: 4" error.

I'm running it with (from memory so may be a typo here):

do shell script "/private/etc/weekly" with administrator privilege

If weekly is replaced by daily the above (with any typos corrected) works.

Side comment: there's a big security hole here as others have noted - ps
access will let you see the administrator password while such a shell script
is running.

Thanks for any illumination, Peter.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: script in startup folder
  • Next by Date: System Events "Show Clipboard" Bug?
  • Previous by thread: Re: GUI in OSX
  • Next by thread: Re: do shell script getting NSReceiverEvaluationScriptError: 4
  • Index(es):
    • Date
    • Thread