In macOS, administrators have full access to the system and can perform tasks such as installing software, changing system settings, and managing user accounts. If you want to set an account as an administrator in macOS, you can do so by following these steps in this article.
1. How To Set A macOS Account As Administrator.
- Step 1: Open System Preferences.
- Click on the Apple menu in the top left corner of the screen and select “System Preferences“.
- Step 2: Navigate to Users & Groups.
- In System Preferences, click on the “Users & Groups” icon.
- Step 3: Authenticate as an Administrator.
- Click on the lock icon in the bottom left corner of the window and enter the username and password of an existing administrator account to authenticate.
- Step 4: Select the Account to Make an Administrator.
- Select the account you want to make an administrator from the list of users on the left side of the window.
- On the window right pane, check the checkbox Allow user to administer this computer.
- Step 6: Save Changes.
- Click on the lock icon again to prevent further changes, and then close the window to save your changes.
- The account you selected should now have administrator privileges.
- It’s important to note that granting administrator privileges to an account can have security implications, as the user will have full access to the system.
- Make sure to only grant administrator privileges to trusted users who require them for their work.
2. How To Check If A macOS User Has Administration Privileges.
- If you want to check whether a macOS account has administration privileges, you can do it in a terminal.
- Run the command groups <user_name> in the terminal, if you can find the string admin in the output text, that means the user has administration privileges.
- Below is an example of using the groups command.
% groups jerry staff everyone localaccounts _appserverusr admin _appserveradm _lpadmin com.apple.sharepoint.group.1 _appstore _lpoperator _developer _analyticsusers com.apple.access_ftp com.apple.access_screensharing com.apple.access_ssh com.apple.access_remote_ae com.apple.sharepoint.group.2
- You can also run the command id -Gn <user_name> to get the user group to check whether the user has administration privileges or not.
- Below is an example of using the id command.
% id -Gn jerry | grep admin staff everyone localaccounts _appserverusr admin _appserveradm _lpadmin com.apple.sharepoint.group.1 _appstore _lpoperator _developer _analyticsusers com.apple.access_ftp com.apple.access_screensharing com.apple.access_ssh com.apple.access_remote_ae com.apple.sharepoint.group.2
- Because the groups command will be obsoleted by the id command in the future.