There is no local users inspector on the mac. Try ‘names of users’. Unfortunately, I don’t see an obvious way to detect if the user is an admin or not. I’ll ask around.
I then use a Analysis to collect the information in BES:
string “Admin” of dictionary of file “/Library/ETC/BigFix/machine.admin.plist”
and
string “Users” of dictionary of file “/Library/ETC/BigFix/machine.admin.plist”
This works on some machines, but not all. When I was testing it from the local machine, it worked without problem. However, when I run it from BES, it seems to create an empty file at “/Library/ETC/BigFix/machine.admin.plist”.
Any ideas?
I’ve tried adding sudo to the beginning of the commands, but I believe BES runs the scripts as root anyway…
There is no local users inspector on the mac. Try ‘names of users’. Unfortunately, I don’t see an obvious way to detect if the user is an admin or not. I’ll ask around.
I would like to request that these inspectors be implemented in the Mac client in the future, if technically feasible. It seems like something that ought to be included.