Some time back we used a particular account labeled as "ctsetup" which had admin privileges for doing some setup work on our Macs. Once done Casper would remove the "ctsetup" account with a policy. In looking just now at a system remotely via ssh I used the following to view user accounts and don't see "ctsetup" which is how it should be...
dscl . list /Users | grep -v ^.
If I view to see who is a member of the admin group via the following command, I do see "ctsetup".
dscl . read /Groups/admin GroupMembership
I don't know enough about the dscl command and how it works so I wanted to see what someone here could explain on the subject. I found those lines while looking online. Why would "ctsetup" even show up as a member of the admin group if it no longer exists...or does it?
Is there a good resource for learning more about dscl?