Mac OS X: Allowing administration by network accounts
Summary
Learn how you can provide administrative privileges for network users or groups.
Products Affected
These are some ways you can specify which network users or groups are allowed to have administrator access.
System Preferences
You can add a network user to the local admin group using System Preferences.
- Log in with a network user account
- From the Apple menu, choose System Preferences
- From the View menu, choose Accounts
- Select the "Allow user to administer this computer" checkbox
- Enter a current administrator's name and password when prompted
Directory Utility (Active Directory)
You can add Active Directory (AD) groups to the local admin group using Directory Utility. Note: Only Active Directory groups may be added using this method.
For Mac OS X v10.6, follow these steps:
- From the Apple menu, choose System Preferences
- From the View menu, choose Accounts
- Click Login Options.
- Click the Edit button by "Network Account Server".
- Click the Open Directory Utility button to open Directory Utility (/System/Library/CoreServices/Directory Utility).
- Click the lock in the lower left corner to authenticate.
- Under the Services tab, double-click Active Directory to edit it.
- Click the disclosure triangle next to "Show Advanced Options" to reveal its contents.
- Under the Administrative tab, click the "Allow administration by" checkbox to enable it.
- Click the plus button (+) to add new entries to the list.
- Click the OK button to save the changes.
Command line (advanced)
If you are familiar with using Terminal and the command line, you can add network users or groups to the local admin group using the dseditgroup command in Terminal. The following example adds a network user to the admin group:
dseditgroup -o edit -n /Local/Default -u localadmin -p -a networkuser -t user admin
...where "localadmin" is the name of a local administrator account on the workstation (you will be prompted for this account password), and "networkuser" is the short name of the network user.
Twitter
Facebook