Solaris - Local Group Enumeration or "How to get list of local groups?"
We can get list of local groups querying the Network Database Sources.
Unix - Local Group Enumeration
- Using getent
>getent group | grep ^[^0-9]*::[0-9]*:$

>cat /etc/group | grep ^[^0-9]*::[0-9]*:$

