Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an app which has to be run as an admin on Mountain Lion. This app is NOT installed on the system. The user Does NOT want to open the terminal and run sudo /xyzlocation/Myapp.

The idea is the user will click on the App. The App launches and then the App opens terminal where the user can key in the password.The App will then continue running. The user is the admin on the system.

Also not sure if it makes a difference but XQuartz or X11 is not present on the user's machine.

share|improve this question

What if you wrote a script with the sudo that they could double-click? You could also modify the sudoers file to not need the password.

AppleScript could do this too, including a standard OSX popup for the password.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.