Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Run an application as admin only

Dear everyone,

I want to change an application so that it can only be run as an administrator (that you have to type in the admin password before it opens).

How can I do this?

Thank you in advance,
Petra

Message was edited by: Petraa

iMac 27", Mac OS X (10.6.6), -

Posted on Mar 20, 2011 3:33 AM

Reply
2 replies

Mar 25, 2011 7:37 AM in response to QuickTimeKirk

Dear QuickTimeKirk,

I solved this problem myself and figured I'd let you know how.

First off I tried to outsmart the system thinking chowning the app to root wont make me able to open it. I was wrong. if you ls -al in the App folder you can see that all Apps belong to root.

Since you never have to type in your password to open anything in App folder, there is probably a startup item handling this for you.

What did I do? Remove it from /Library/StartupItems. Every time I open the app now, max nicely asks me for admin password.

Yours sincerely,
Petra

PS: "we" maybe dont do things like that in OS X, but I do. Thanks anyway for explaining to me how my home folder looks like.

Message was edited by: Petraa

Message was edited by: Petraa

Run an application as admin only

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.