Note of users and groups on Mac

Owners and groups in the Finder and command line

On the terminal:
man dscaceutil (press ‘k’ to quit)
dscacheutil -q group -a name admin
dscacheutil -q group -a name staff
dscacheutil -q user -a name username

dscacheutil -q group -a name admin
output:
name: admin
password: *
gid: 80
users: root xx

View All users & Accounts on Mac
dscl . list /Users

Accounts start with ‘_’?

View All User Accounts, User Directories, & User GECOS Info on a Mac
dscacheutil -q user

Leave a Reply

Your email address will not be published. Required fields are marked *