• 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
Telling remote computer to "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Telling remote computer to "do shell script"


  • Subject: Telling remote computer to "do shell script"
  • From: Chris Garaffa <email@hidden>
  • Date: Mon, 1 Dec 2003 14:18:14 -0500

Hey all,

I have a script for some users here that runs chflags on our server. I don't trust these people in the Terminal and with SSH, so they need a GUI (this I'm handling with AppleScript Studio, but my question is pure AppleScript)
What I'd like to do is represented by this pseudo-code:
tell application "someapp" of machine "eppc://user:email@hidden"
do shell script "sudo chflags uchg /Volumes/Data/CA\ Policies" password "adminpassword" with administrator privileges
end tell

For "someapp" I've tried "Finder" and "System Events" with no luck. What application do I need to tell to "do shell script"?

Thanks


--
Chris Garaffa
email@hidden
_______________________________________________
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.

  • Follow-Ups:
    • Re: Telling remote computer to "do shell script"
      • From: Michael Terry <email@hidden>
  • Prev by Date: Re: Selected text from Terminal?
  • Next by Date: Re: iTunes AppleScript won't use default browser
  • Previous by thread: Re: Selected text from Terminal?
  • Next by thread: Re: Telling remote computer to "do shell script"
  • Index(es):
    • Date
    • Thread