Users & Groups · macOS

On this page 8

Users & Groups is the pane in macOS System Settings where an administrator creates, edits and deletes local user accounts and the groups that bundle them for shared permissions. In macOS administration, it is the graphical front end to the local Directory Services database, so every account it shows is a record that command-line tools such as dscl and sysadminctl can also read and change.

The pane decides who can log in, what each person may change and which accounts can unlock an encrypted disk. On Macs owned by an organization, much of what it controls is now shaped by MDM, Platform SSO and secure token rules, which makes it a place to verify state as often as a place to make changes.

How Users & Groups maps to the macOS directory

Every account shown in Users & Groups is a record in the local directory node, stored as property lists under /var/db/dslocal/nodes/Default and served by the opendirectoryd daemon. The pane never edits those files directly; it calls the same Open Directory APIs that dscl and sysadminctl use, which is why changes made in Terminal appear in the pane after it refreshes.

Each user record carries a short account name, a full name, a numeric user ID (UID), a primary group, a home directory path and a login shell. Interactive accounts created in the pane start at UID 501, while service accounts that the system needs, such as _www or _spotlight, sit below 500 and stay hidden from the interface.

The following table lists the attributes an administrator meets most often, including those reached through the Advanced Options dialog that appears after Control-clicking an account.

AttributeTypical valueWhat it affects
Account nameShort, lowercase, for example jsmithHome folder name and command-line identity
User ID501 and higher for peopleFile ownership on disk and on network shares
Primary groupstaff (GID 20)Default group ownership of new files
Login shell/bin/zshShell used by Terminal and Remote Login
Home directory/Users/jsmithLocation of documents, preferences and keychains
Generated UIDA UUIDStable identity used by ACLs and group membership
Core attributes of a local user record

Account types available in Users & Groups

macOS offers a small set of account types, and the choice determines what a person can install, configure or approve. The Administrator type is simply a standard account that is also a member of the admin group (GID 80), which grants the right to authenticate for system changes and to use sudo.

Account typeKey privilegesTypical use
AdministratorChanges settings, installs software, manages usersIT staff, single-owner personal Macs
StandardUses apps, changes own preferences onlyEveryday users on managed Macs
Sharing onlyFile Sharing access, no login window sessionNetwork access to shared folders
Guest userTemporary session, data erased at logoutKiosks and occasional visitors
Network accountLogin with directory credentialsMacs bound to an external directory
Local account types and their typical use

Groups created in the pane are local and serve mainly to grant shared folder access or to target permissions in ACLs. Built-in groups such as admin, staff and everyone are not listed for editing, but their membership changes whenever an account is promoted or demoted.

Users & Groups is one of several ways to manage accounts, and experienced administrators choose the tool that matches scale and repeatability. The pane suits one Mac at a time, while scripts and MDM suit fleets.

MethodScopeStrengthLimitation
Users & Groups paneOne Mac, interactiveClear, safe defaultsManual and not auditable at scale
`sysadminctl`One Mac, scriptableCreates users and handles secure tokenRequires admin credentials in scripts
`dscl`One Mac, low levelEdits any directory attributeEasy to create inconsistent records
MDM commandsWhole fleetAccount creation during enrollmentDepends on the MDM vendor feature set
Platform SSOWhole fleetAccounts tied to an identity providerRequires recent macOS and IdP support
Comparison of account management methods

Directory Utility handles binding to Active Directory or LDAP, after which network accounts appear in the pane as a separate category. Apple now positions Platform SSO and Managed Apple Account sign-in as the preferred alternative to classic directory binding.

Secure token, FileVault and administrator rights

On Apple silicon and T2-equipped Macs, an account must hold a secure token to unlock FileVault, to approve software updates on some configurations and to authorize other users for the encrypted volume. Administrator status alone is not enough, a distinction that causes many support escalations in managed fleets.

The first account created in Setup Assistant normally receives a secure token, and accounts added later in Users & Groups by a token-holding administrator inherit one. Accounts created silently by scripts often lack a token, which leaves them unable to decrypt the disk at startup.

MDM solutions escrow a bootstrap token so that later accounts, including those created by Platform SSO, can obtain a secure token without an existing administrator typing a password. Checking token status with sysadminctl -secureTokenStatus is a routine verification step after any account change.

Managing accounts safely

Good practice in macOS administration keeps everyday work in a standard account and reserves administrator rights for a separate, rarely used account or for temporary elevation tools. The table below links common situations to a recommended approach.

SituationRecommended actionReason
Shared family or lab MacOne standard account per personSeparates data, keychains and preferences
Departing employeeDelete and keep home folder as disk imagePreserves data for review or legal hold
Wrong UID after migrationFix UID, then repair ownership with chownRestores access to existing files
Local admin for IT supportHidden admin with a managed passwordAvoids shared passwords on every Mac
User needs one installTemporary elevation instead of permanent adminLimits the window of extra privilege
Decision guide for common account tasks

When an account is removed, the pane offers to save the home folder in a disk image, leave it in place, or delete it. Choosing deletion is irreversible without a backup, so organizations usually archive first and delete later according to their retention policy.

Common mistakes with users and groups

  • Renaming the home folder without updating the account record, which leaves the user with an empty new profile.
  • Granting administrator rights by default to every user, which bypasses software and settings controls.
  • Duplicate UIDs across Macs that share files over NFS or external drives, which mixes ownership.
  • Script-created accounts without a secure token, which then cannot unlock FileVault at startup.
  • Editing records with `dscl` while the user is logged in, which can corrupt preferences or keychains.

The idea in brief

Users & Groups is the place on a Mac where you decide who can use the computer and how much each person may change. Every person gets an account with a name, a password and a private home folder.

Some accounts are administrators, who can install software and change system settings. Others are standard accounts, which can use apps but cannot change the whole machine. Groups are simply named lists of accounts, used to share folders with several people at once.

Think of it as the guest list and key cabinet of a building: it records who may enter and which doors each key opens.

A practical scenario

A small architecture office with twelve MacBook Pro laptops moves from shared administrator logins to a managed setup. The IT contractor enrolls the Macs through Automated Device Enrollment, so each one gets a hidden local administrator for support and a standard account for the architect who uses it.

On the first Mac, the contractor opens Users & Groups, confirms that the architect account is standard, and runs sysadminctl -secureTokenStatus to check that it holds a secure token for FileVault. A local group named projects gives three partners read and write access to a shared folder on the studio Mac.

When a junior designer leaves six months later, the contractor deletes the account and saves the home folder as a disk image on the file server. The result is that no one in the office works as an administrator day to day, and departing staff data is retained without leaving a usable login behind.