Hi, I want to remove the current login user as admin and I tried this
command and it seems not to working. #!/bin/bash/usr/sbin/dseditgroup -o
edit -d "$currentUser" -t user admin is anyone can help me with
the macs has another admin account which is why i want to revoke the
other one (the current login user). i manage to found this command but i
cant do a whitelist of the admin account according to the username since
different set of macs have differen...