Making Network Users have local admin rights

Is there a easy way to have a single network user that is authenticated through Active Directory to have access to install updates and install software. Basically I need one user to have admin rights on a certain group of computers. Can this be done with Workgroup Manager? Or even ARD?

Thank you in advance

Mac Server, Mac OS X (10.6.4)

Posted on Aug 24, 2010 8:44 AM

Reply
17 replies

Sep 8, 2010 7:25 AM in response to Antonio Rocco

Antonio Rocco,

Thanks that works great if I want to do the updates and stuff from ARP but is there a way to make network users administrators so they can do updates without having each user login and then manually setting them as able to administer this computer in the Control Panel? I have about 5 users who need to be admins on a group of computers and short of making each of them login and manually setting them I thought here might be a easier way.

Thank you

Oct 29, 2010 6:18 AM in response to Tranziq

This is normally something that is set when the computer is bound to Active Directory. You can set AD groups that will have local administrative privileges by clicking 'Show Advanced Options' and looking under the 'Advanced' tab and checking the 'Allow Administration By' box and then selecting your groups.

If you have already bound your clients, you can add groups to the local administrative group using the dsconfigad command with ARD.

Example:
To add an AD group called 'techs' in a domain called COMPANY, the command would be:
sh-3.2# dsconfigad -groups techs
Settings changed successfully

To check the success of the command, you can type:
sh-3.2# dsconfigad -show

You are bound to Active Directory:
Active Directory Forest = FQDN
Active Directory Domain = FQDN
Computer Account = computername

Advanced Options - User Experience
Create mobile account at login = Enabled
Require confirmation = Disabled
Force home to startup disk = Enabled
Use Windows UNC path for home = Enabled
Network protocol to be used = smb:
Default user Shell = /bin/bash

Advanced Options - Mappings
Mapping UID to attribute = not set
Mapping user GID to attribute = not set
Mapping group GID to attribute = not set

Advanced Options - Administrative
Preferred Domain controller = not set
*Allowed admin groups = COMPANY\techs*
Authentication from any domain = Enabled
Packet signing = disable
Packet encryption = disable
Password change interval = 14
Namespace mode = domain

Advanced Options - Static maps
None
+end output+

Hope that helps...

Message was edited by: Matt Ramsay

Jan 5, 2011 5:28 PM in response to Matt Ramsay

"For OD only environment:

#Use dseditgroup in the following way:
dseditgroup -o edit -a yourGroupName -t group -n /Local/Default admin"


The above looks simple enough, but I've tried repeatedly and get nothing....no error message, no success....

I have a newly installed OS X 10.6 (Snow Leopard) server as an Open Directory Master with brand new iMac's clients bound to the OD running OS X 10.6. Attempting to place an OD group as local admins on the iMac's

Server and Clients are up to dat on all patches. Should the dseditgroup command work with 10.6? Have also been trying to use dscl commands, but no luck.

Anybody help me out of my misery?

Jan 6, 2011 4:53 AM in response to ahamagr

Sorry if this is a stupid question, but did you substitute your actual OD Group name in place of 'yourGroupName' in the command?

If so, run the following command:
dseditgroup -o read -n /Local/Default admin


You should see your local users that are in the admin group, but you should also see an entry under dsAttrTypeStandard:NestedGroups. That ID should match the GeneratedUID of your group. (You can check this in Workgroup Manager with the Inspector).

If there is nothing there, the group was never added properly.

Good luck, and let me know how you make out.

Message was edited by: Matt Ramsay

Jan 7, 2011 10:16 AM in response to MrHoffman

I have a launchd item on all of my clients that periodically checks back to my server for the presence of management/update scripts. When I want to make a system-wide change to my clients, I just put the script in one location on my server and the clients update themselves automatically.

AryanKing:
I see you are in St. Lucia. Any chance your employer would like to fly me down to set this up for you? I'm getting tired of the snow here in NY.

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.

Making Network Users have local admin rights

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