• 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
How to Run a "sudo" Terminal Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to Run a "sudo" Terminal Command


  • Subject: How to Run a "sudo" Terminal Command
  • From: Dave <email@hidden>
  • Date: Sat, 12 Dec 2015 12:20:37 +0000

Hi All,

I’d like to execute a Shell Script with the “sudo” command, e.g.

sudo some-command

If I do this from the terminal it prompts me for my password how can I do this from an AppleScript, ideally I’d like the Standard Mac OS Password Dialog to appear…..

Is this possible?

All the Best
Dave



 _______________________________________________
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


  • Follow-Ups:
    • Re: How to Run a "sudo" Terminal Command
      • From: "S. J. Cunningham" <email@hidden>
    • Re: How to Run a "sudo" Terminal Command
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: AS Library Question
  • Next by Date: Re: How to Run a "sudo" Terminal Command
  • Previous by thread: Re: Filemaker - commit or select no cell
  • Next by thread: Re: How to Run a "sudo" Terminal Command
  • Index(es):
    • Date
    • Thread