How to add Network Users as Local Admin

Hello All

I have been manually adding users to the local computer admin group so they can use their user id every time they are prompt for an Admin ID and PW. I also use the following terminal command when I know a users are going to be using a computer:

dseditgroup -o edit -n /Local/Default -u localadmin -p -a networkuser -t user admin

Does anyone know of an easier way to do this?

It would be so much easier to add a group so anyone in that group would have local admin rights of that computer.

Could you simply change the terminal command to this?

dseditgroup -o edit -n /Local/Default -u localadmin -p -a networkgroup -t user admin

I am going to test and see but I doubt it.

Thanks,

ebrind

MacMini Server-OTHER, OS X Server, 10.7.5

Posted on Mar 22, 2013 2:09 PM

Reply
4 replies

Mar 23, 2013 6:45 PM in response to ebrind

The question is whether you need them to be an administrator on the server or the local system they're on. If it's the local system then you need to have them in the directory of the local system. The simplest thing to do is to have a "generic" local admin account that's on each system and that everyone knows. You can always tell if it's asking for the user's credentials because it's filled in. If not then it wants a local admin credential.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to add Network Users as Local Admin

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