How can I get the list of all Users with Admin privileges, on all selected Macs, in Apple Remote Desktop?
I have tried:
dscl . -list /Groups/admin GroupMembership
But this does not list anything, not even the results window opens.
Marcus Müller
49.5k4 gold badges76 silver badges115 bronze badges
1 Answer 1
You have use -read
not -list
dscl . -read /Groups/admin GroupMembership
-
2Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.2025年06月06日 14:04:02 +00:00Commented Jun 6 at 14:04