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.
| Attribute | Typical value | What it affects |
|---|---|---|
| Account name | Short, lowercase, for example jsmith | Home folder name and command-line identity |
| User ID | 501 and higher for people | File ownership on disk and on network shares |
| Primary group | staff (GID 20) | Default group ownership of new files |
| Login shell | /bin/zsh | Shell used by Terminal and Remote Login |
| Home directory | /Users/jsmith | Location of documents, preferences and keychains |
| Generated UID | A UUID | Stable identity used by ACLs and group membership |
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 type | Key privileges | Typical use |
|---|---|---|
| Administrator | Changes settings, installs software, manages users | IT staff, single-owner personal Macs |
| Standard | Uses apps, changes own preferences only | Everyday users on managed Macs |
| Sharing only | File Sharing access, no login window session | Network access to shared folders |
| Guest user | Temporary session, data erased at logout | Kiosks and occasional visitors |
| Network account | Login with directory credentials | Macs bound to an external directory |
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 and related macOS administration tools
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.
| Method | Scope | Strength | Limitation |
|---|---|---|---|
| Users & Groups pane | One Mac, interactive | Clear, safe defaults | Manual and not auditable at scale |
| `sysadminctl` | One Mac, scriptable | Creates users and handles secure token | Requires admin credentials in scripts |
| `dscl` | One Mac, low level | Edits any directory attribute | Easy to create inconsistent records |
| MDM commands | Whole fleet | Account creation during enrollment | Depends on the MDM vendor feature set |
| Platform SSO | Whole fleet | Accounts tied to an identity provider | Requires recent macOS and IdP support |
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.
| Situation | Recommended action | Reason |
|---|---|---|
| Shared family or lab Mac | One standard account per person | Separates data, keychains and preferences |
| Departing employee | Delete and keep home folder as disk image | Preserves data for review or legal hold |
| Wrong UID after migration | Fix UID, then repair ownership with chown | Restores access to existing files |
| Local admin for IT support | Hidden admin with a managed password | Avoids shared passwords on every Mac |
| User needs one install | Temporary elevation instead of permanent admin | Limits the window of extra privilege |
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.