It's known that all users are members of the 'staff' group. If you setup a standard user and create any file, a list of that file in the terminal with 'ls -la' shows the user group to be 'staff'.
Using the dscacheutil command, we can see information about groups. For example: -
dscacheutil -q group -a name admin
This returns information about the admin group, including all the members.
However, when used to look at the 'staff' group, I expected to see standard users as members of the group, but this is not the case: -
dscacheutil -q group -a name staff
name: staff
password: *
gid: 20
users: root
So, if all standard users are members in the staff group, why do they not appear here?
Is there another command which can show the real members of the staff group?