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

App Store Asking for Admin

I'm using the computer as an account without administrator privileges while someone else manages the administrator account. Every time I want to download an app, it asks for my administrator name and password. The admin would have no problem allowing app store access, but he doesn't want to type it in every single time. Is there any fix for this?

Macbook Pro, Mac OS X (10.6.6)

Posted on Jan 7, 2011 12:34 PM

Reply
Question marked as Best reply

Posted on Jan 7, 2011 1:06 PM

The requirement for administrator privileges is normal for almost all application installations. There's no way around it that I know of (nor would I want one since it would allow people to install apps they're not allowed to). Sorry, but if you can't get administrator privileges, either on your own user account or as a separate account, you'll have to get your admin involved whenever you want to install an app (from most sources, not just the Mac App Store).

Regards.
17 replies
Question marked as Best reply

Jan 7, 2011 1:06 PM in response to buckeyeboy

The requirement for administrator privileges is normal for almost all application installations. There's no way around it that I know of (nor would I want one since it would allow people to install apps they're not allowed to). Sorry, but if you can't get administrator privileges, either on your own user account or as a separate account, you'll have to get your admin involved whenever you want to install an app (from most sources, not just the Mac App Store).

Regards.

Jan 17, 2011 4:35 AM in response to varjak paw

This is bad by design.
Try and create a directory in your home called Applications ... Tada , have you notice the look of the icon ?
I use that on all my systems, it's very neat, when apps are self-contained (as they have to be on the App Store) it's working perfectly.
Why Apple did not give the choice for non-admin user to perform this type of install ? It remains a mystery for me.

Jan 17, 2011 12:53 PM in response to -PhS-

-PhS- wrote:
I use that on all my systems, it's very neat, when apps are self-contained (as they have to be on the App Store) …


I'm pretty sure it is not true that Mac App Store apps have to be self-contained. Consider for instance GarageBand & the items it places in the root level /Library/ folder. In fact, I think all apps from the MAS create receipt info, which would have to be stored in a system domain folder.

Feb 13, 2011 3:36 PM in response to varjak paw

I wouldn't call it normal, although it is common. Even in a home environment, if one user wanted to install an app why should they be forced to put the system at risk? There are very few cases where I install apps at the system level but increasingly I have to open the package and rearrange things to be able to install in my local ~/Applications directory. The MAS makes that impossible for all apps, even the most simple and self-contained apps. It is arrogance on the part of the developers to promote system level installs and a security flaw for Apple to insist on it on a multi-user machine.

Message was edited by: PaulB

Jul 20, 2011 5:11 AM in response to varjak paw

Hi,


I have the following situation:

My girlfriend's dad got a new computer, and we planned not giving him the PW to the administrator user we setup, he only has a normal user account. This way he cannot download stuff from some dubious place on the internet, shouldn't fall in some MACdefender trap etc.


Problem: He also cannot download simple games from the App Store. Only if we give him the admin PW, and that clearly defeats the purpose of the separation of powers. Installing from the App Store should be possible for such situations, I think, if just by an admin specifying that the Mac Store of this login should install to ~Applications, and not /Applications.


Is there really NOBODY with this use-case out there?


regards

simon

Jul 29, 2011 1:51 PM in response to buckeyeboy

There is a way around this. You need to run the App Store application as an administrator. If App Store.app is running and it was started by an administrator then it will not ask for the administrator password when installing or updating apps.


In essence you need to start the App Store application with the sudo command. For example, from a terminal window you would perform these steps:


su [administrator username]


This will ask you for the administrator’s password, enter it.


sudo /Applications/App\ Store.app/Contents/MacOS/App\ Store


Again you will be asked for the administrator’s password, enter it.


Now the App Store app will open and you will be running it as an administrator. The only password that will be needed to install or update apps on the App Store will be the iTunes Store account password of the user.


The above approach is just a proof of concept. You’ll still have a Terminal window open and running the App Store’s process, when you quick the Terminal or press Control+c the App Store will close. This runs a separate, administrator process of the App Store, it will not open again in administrator mode without invoking the sudo command. A more permanent solution would be to create a script that runs the sudo command, the user could then run the script or set it as a login item. Unfortunately, this is potentially disastrous as it would leave the administrator password in a clear text file. A better way would be to use a script encrypted with Platypus into an application the user could run. …I’ll look into this some more for my own purposes. Maybe someone else has a better method?


-Berylium

Sep 14, 2011 10:15 AM in response to Berylium

I very much disagree.


'Regular' users should not install applications in the system's application folder.

A user should create an Application folder within his own userspace.

This way no application (living within the user space) will be able to run with admin privileges.


This approach helps to keep your system safe.


On top of that there are added bonuses:

  • Another user won't be able to use your apps (if you want to, you can share the user's application folder)
  • When you remove the user from the system, all his junk (including his apps) will be removed as well, leaving you with a clean system.


So the real solution must come from the appstore itself, where you get the choice whether an app is to be installed for the user or for all users on the system.

For instance, installing 'Pages' would be for all users, which warrants installation in the /Applications folder. (And requires the administrator's credentials to be installed)

Installing a game would be for the individual users should land in the /Users/<name>/Applications folder.


Hoot

Sep 14, 2011 1:10 PM in response to Hoot Posthorn

My opinion on the matter is as follows:


1. Hacking an application to run as an administrator is an egregious security practice.


2. The Mac App Store is home exclusively to "safe" applications that my users know how to install and use. (A statement that I’ll stand behind more fully this winter when sandboxing is a requirement of applications submitted to the App Store)


3. Many of the applications on the Mac App Store are available on the web where they are more difficult and onerous to install and license. Worse, I can’t reasonably put any trust in something one of my users downloads from the web.



Ultimately, I am more afraid of what a user could download off the internet than what they could download off the Mac App Store. So even knowing the potentially dangerous security implications of the plan, I think it is safer to hack something to allow my users to run the Mac App Store as administrator.


Further, I fully agree with you, Hoot, that their should be a preference in the Mac App Store to download to ~/Applications for non-administrator users.


-Berylium

Apr 19, 2012 6:38 AM in response to buckeyeboy

This is possible with Lion.

There is a _appstore group. All the user that are in this group are allowed to install applications from the Mac App Store.


You can add a user to this group with the workgroup manager (instal server admin tool first).

Or by typing in this command on the terminal.


dseditgroup -o edit -a shortusername -t user _appstore


Unfortunately this group does not exist in 10.6.8. So how to do that I'm still figuring out.

May 2, 2012 5:19 PM in response to Jasper Siegers

I just discovered in Workgroup Manager that essentially all default system accounts and groups are missing on my iMac. However, I never experienced any flaws on that system. (Except for Mac App Store asking for admin password each installation)

I discovered it because Terminal told me there was no _appstore group. (I recreated it manually, now I'm fine with that...but...)

I compared it to my MacBook Air - where all those users and groups are available...


See:


User uploaded file


Also for groups:


User uploaded file





HOW CAN I RESTORE ALL THOSE DEFAULT USERS & GROUPS? SOLUTION PLEASE?

Because this can't be good...

And I have no idea what made them all disappear.

App Store Asking for Admin

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