If you use your Mac for other than personal purposes, you may need to set up an additional administrative user on your account at some point. And in some cases, you may need to remove users who previously had some privileges on your device.
Fortunately, Apple allows you to do both without having to worry too much about it. Furthermore, you can perform some actions in multiple ways.
We’ll show you how to add or remove administrators to optimize your Mac. These tips will work regardless of whether you have an iMac, MacBook Air, or MacBook Pro.
How to Add a Mac Administrator Using System Preferences
The easiest way to add a new administrator to your Mac is to go to System Preferences. You can access this by clicking the Apple icon in the top left corner and choosing System Preferences from the drop-down menu.
Once you’ve done this, follow these steps to complete the admin setup process.
Step 1: Select Users & Groups in the 2nd row in the dark gray section.
Step 2: Go to the bottom left of the window where you will see a padlock. Move your cursor over here and click the padlock icon.
Step 3: Enter your admin username and password. Then press Unlock or press Enter.
Step 4: Go to the + button which you will find at the bottom of the white box on the left.
Step 5: Before filling in the details in the next window, open the drop-down menu next to New Account and select Administrator.
Step 6: Fill in the remaining boxes and click the Create User button.
Once you have created a new administrator, the box next to ‘Allow users to administer this computer’ is checked. If not, you can do this yourself. All you need to do is click on the new admin and tick the box.
How to Remove Mac Administrators Using System Preferences
At some stage, you may need to remove the administrator who previously had access to your Mac. If you want to do this using System Preferences, the process is pretty straightforward. All you need to do is follow the steps listed below.
Step 1: Go to the Apple logo on the top left and click on it.
Step 2: Select System Preferences from the drop-down menu.
Step 3: Go to Users & Groups.
Step 4: Click on the padlock in the lower left corner.
Step 5: Enter your administrator username and password, and then press Unlock or press Enter.
Step 6: In the white box, go to the section titled Other Users.
Step 7: Select the account you want to remove.
Step 8: At the bottom of this window, click the – button.
On the next page, you’ll see a window asking if you want to save the home folder in the disk image – or if you want to leave it as is or delete it. Select your choice and then tap Delete User.
How to delete users on Mac Terminal
You can also delete users on your Mac using Terminal on your device. These steps will show you how; keep track of them as they are in place.
Step 1: Go to the magnifying glass icon at the top right of your Mac’s toolbar.
Step 2: In the search bar, start typing end and select Terminal from the results.
Step 3: Find your administrator with this command.
sudo /usr/bin/dscl . -delete “/Users/[username]”
So in our example case the command would be:
sudo /usr/bin/dscl . -delete “/Users/adminaccount”
Step 4: Press Enter and macOS will prompt you to add an administrator password.
Step 5: Enter your admin password.
After entering the password, the admin account will no longer appear in your list of users. If that’s the case, follow the steps we’ve listed using System Preferences to fix the problem.
Admin control
If you use your Mac for professional purposes, you’ll probably need to give access to another administrator at some point. And if you need to do this yourself, the process we’ve outlined in this article shouldn’t take you more than a few minutes.
Similarly, you’ll probably need to remove administrators from your Mac at some stage. Again, you can do this through System Preferences – or you can use Terminal. No choice is difficult, so choose the option that suits you best.
Categories: How to
Source: thpttranhungdao.edu.vn/en/