How would I obtain the Users and Groups listed under System Preferences from a Mac through the terminal?
dscl . list /users dscl . list /groups
But they give me a list of system-ish users as well. I just want the users and groups I would see if I went into System Preferences and viewed them. Any help would be much appreciated. Thanks in advance.