How to Add and Delete Users on a Mac (Understanding)

If you are a Mac user with multiple people from your household using your system, it is best to set up an account for each User. However, you must be aware that the system allows you to create and maintain multiple user accounts at a time easily, so there is no need to worry about one person prying on another person’s stuff.

While the possibility of having more than one account on your Mac does exist, not all of them have the same features. Any other user account created apart from the first one by the administrator (the default user on the system) lacks most system privileges the admin has. These accounts are the ones that you let your colleagues, friends, or family use. The advantage of creating these accounts is that anyone using it can see just as much as you do without accessing your files on the administrator account.

In situations like when you are away from your Mac, the security of an account is at stake, when an account is no longer in use, or someone using the Mac created a new profile by mistake, you have the option to disable access to that account.

Tricks & Methods to Manage User account on Mac

Let’s know how to Create, Enable/Disable, or Delete Your user account on Mac. Here are some tricks and methods to manage your user account on Mac. ; Click here, “How to Check Which Version of macOS You’re using on Mac.” to know the current macOS version running on your system.

Tip 1: Create – Make New User Account Under the Administrator on Mac

It is simple to add a new User Account. You can create multiple user accounts under the administrator. Conversely, you can run only a single Guest Account and not delete or change the passwords. You can only Enable or Disable the guest account. To create your new user account, follow the steps and make it within moments.

macOS Ventura

1→ Go to the Apple Logo Menu from the top menu > System Settings,

2→ Scroll and Click Users & Groups > Click on “Add Account” (The new pop-up window will open, Select New Account Type (from Administrator, Standard and Sharing Only, or Group. Enter the Full name and Password that you want to be set as the login password.)

3→ Tap on the (i) button next to the username,

4→ Turn on Toggle to “Allow user to administer this computer.”

5→ Done

macOS Monterey

1→ Go to the Apple Menu from the top menu bar, then click on System Preferences,

finder-system-preferences-option-on-mac-2

2→ Then open Users & Groups.

Users & Groups for Mac OS X Yosemite

3→ Unlock for change Setting by entering a valid Mac password.

4→ For adding a new user as a guest or Child, Click on the + icon from the left pane on a window.

Add new users details with password

5→ Enter the account name and Password that you want to set as the login password.

Next, click on Create account. Wait for a few seconds; your Mac screen shows Multiple Accounts on the login screen with Guest users.

Tip 2: Change Password

Changing your Mac login password is a trick to stop access for known members in your home or office. S, next time they can’t access your account, or it is disabled for Them. Without Restart, you can change it on your Mac. for all users if you are an administrator of a Mac computer. Follow the below steps to change your Login Password on Mac.

macOS Ventura

1→ Go to the Apple menu > System Setting, then

2→ Scroll down and Click Users & Groups.

3→ Tap on the (i) button next to the username on the right,

4→ Click on Change Password,

5→ Enter New Password and enter it again to verify.

6→ Enter a hint to help you remember the Password.

7→ Click Change Password.

macOS Monterey

1→ Go to the Apple logo from the top Mac menu > System Preferences.

system-preferences-for-mac

2→ Select Users & Groups.

users-group-on-mac-preferences

3→ Click on Lock and Enter your Mac administrator password.

unlock-mac-settings-in-system-preferencesjpg

4→ Now, Select User to change the login password, and click “Reset Password.”

reset-password-for-added-user-on-mac

5→ Enter New Password and verify it.

enter-a-new-password-for-change

That’s it.

Tip 3: TEMPORARILY DISABLING A USER ACCOUNT:

Here is a step-by-step guide to how you can disable a user account on your Mac:

macOS Ventura

1→ Go to the Apple menu > System Setting, then

2→ Click Users & Groups.

3→ Tap on the (i) button next to the username,

4→ Turn off “Allow user to administer this computer.” Toggle to disable a user account temporarily.

5→ Done.

macOS Monterey

1→ Go to Apple Menu and open System Preferences. Alternatively, you can use the Launchpad to go to this location.

2→ Then, click on the Users & Groups icon in the bottom row of the window. You will now be able to view the current user settings.

users-group-on-mac-preferences

3→On the bottom left corner of the page, you can find a lock symbol. Click on it to make changes. If a pop-up prompts you to do so, provide the current account’s Password.

4→Right click on the name of the user account you wish to disable and click on Advanced Options.

see-user-settings-from-advanced-user-on-mac

5→ When the window opens, you can find various options. Of these, you can find a dropdown list for the Login shell.

6→ Here, you will have to change the current shell from /bin/bash to the option /usr/bin/false from the dropdown.

disable-user-on-mac-using-shell

7→ After you have made the change, click OK to save and restart your Mac.

When your system turns back on, you can find that the user account you disabled will not see for longer on the Login window. If that is the case, then the change was a success. By now, you would have understood that by disabling an account, you are locking it from being used and removing it from the Login window of your Mac.

While we are on the topic, please remember not to try and disable the administrator account or the currently logged-in account. If you need to disable the administrator account, you must appoint another user account as the administrator before disabling the former.

If you regret disabling the account, you can always return it to active status. We will tell you how.

ENABLING THE USER ACCOUNT BACK:

Since the account was disabled, it will no longer appear in your System Preferences’ Users & Groups section. However, you can enable the disabled account back by running on the Terminal. In addition, this account you are on must either be the root user or admin privileged User.  

If the above conditions are satisfied, then follow these steps:

  1. Open Terminal
  2. Run this command: chsh <disabledUserName>Instead of disabledUserName, type the name of the disabled account. Example: chsh user1.
  3. The command will open a configuration file of the disabled account, which you can edit by pressing i.
  4. Search and find the value: “Shell: /usr/bin/false” and change it to “Shell: /bin/bash” to enable the user back.
  5. Once changed, press the Esc key and type :x to save the configuration and exit.
  6. Restart your Mac, and you can find the enabled account on your Login window again.

We just told you that it is possible to enable it back after disabling an account. However, this method is only temporary and not a permanent solution. Some users may also find the disable-enable process tedious.

If you wish to explore more permanent, quicker, and better alternatives to get a user account out of existence, read on to discover the options available.

Hide user account mac Using Terminal

The second alternative on the list is hiding an account from the system. This option is best suited when you believe the security of your account is compromised. 

Here are the steps to hide an account on your Mac:

  1. Log in with the administrator account and go to the Terminal.
  2. Run this command: sudo dscl . create /Users/hiddenuser IsHidden 1.Replace “hiddenuser” with the name of the user you want to hide.
  3. Once you run the command, you cannot find the hidden user on System Preferences.

Unhide User Account Mac Using Terminal

If any User account is hide using Terminal with the above terminal command, unhide, Now using the below steps.

  1. Log in with the administrator account and go to the Terminal [Command + Space, Type Terminal to Search app].
  2. To unhide the account you just hid, go back to the Terminal and run: sudo dscl . create /Users/hiddenuser IsHidden 0 by replacing “hiddenuser” with the account name you want to show again. That will make the account appear on the Login window. 

This Steps won’t work for the guest user account. For that, follow the subsequent solutions and tips to Remove guest access on Mac.

How to Disable Guest User Account on Mac

Disable Guest User that we can’t delete

On Mac, we can’t delete the default Guest user, but we can hide from the login screen from your administrator account. Follow the below steps to Hide or Disallow/Allow guests to log in to this computer.

Enable the guest user so friends can temporarily log in to your computer. Logging in to the guest account does not require a password. Users cannot log in to the guest account remotely. If FileVault turns on, guest users can only access Safari. All information and files in the guest account’s home folder will be deleted when a guest user logs out. Follow the below steps,

macOS Ventura

1→ Go to the Apple Logo > System Settings,

2→ Scroll and tap on Users & Groups,

3→ Click on the (i) Button next to the Guest user,

4→ Turn off the “Allow guests to log in to this computer” toggle.

That’s it.

macOS Monterey

1→ Go to the Apple logo from the top Mac menu > System

system-preferences-for-mac

2→ Go with Users & Groups > Unlock the window by clicking on the Lock icon at the bottom.

users-group-on-mac-preferences

3→ Then, select Guest User – Sharing only,

4→ Uncheck tik, “Allow quests to log in to this computer in,” that’s it.

disable-guest-user-on-mac

Now, the Guest user Login no longer shows on the mac login screen.

That’s it.

DELETING A USER ACCOUNT:

The first alternative is deleting a user account that is no longer active. Here are the steps to follow:

macOS Ventura

1→ Go to the Apple Logo > System Settings,

2→ Scroll and tap on Users & Groups,

3→ Click on the (i) Button next to the username,

4→ Click on “Delete Account.”

(It will pop up three options-save the home folder in a disk image, Don’t change the home folder, and delete the home folder.)

5→ Select “delete the home folder,” and Done.

macOS Monterey

1→ Go to Apple Menu > System Preferences.

system-preferences-for-mac

2→ Click on the Users & Groups icon.

users-group-on-mac-preferences

When the window opens, find and click the lock on the bottom left corner to make changes. If prompted, enter your account password and click Unlock.

unlock-changes-on-mac-system-preferences

Select the user you want to delete, and click the Remove button (that looks like a- sign) that found below the users list. You cannot select other user accounts logged into the Mac.

Then, perform one of the following actions:

delete-user-account-from-mac-complately

Select the “Save the home folder in a disk image” option. This action will archive all the documents and information of the user account if you wish to restore it later. The disk image is present in /Users/Deleted Users.

Or, you can leave the account’s home folder as it is by selecting “Don’t change the home folder” option. The documents and information remain where they are, and you can restore the account later.

Another option is to remove the home folder by selecting the “Delete the home folder,” which will erase all user information and free up storage space. However, this move will not allow the restoration of the user account.

Later, click on Delete User.

delete-the-user-account-on-mac

Later, click on Delete User.

CONCLUSION

Our suggestions will help you with your task of deleting, disabling, or hiding an account on your Mac. But, of course, if all these ways seem like too much work, you can always change your Password and keep it confidential.

You no longer have to worry about some nosy nephew or prying colleagues peeping into your system without authorized entry. Let us know how helpful you find this article in the comments.

Photo of author

LeaksApplePro

Covering All About Apple Products Tech News, Tips and Tricks.

Leave a Comment