Privilege ids list

I would like to capture the list of all users that belong to the "system" group. Or in other words all those who have privilege access on the system. Can someone please help me with a shell script/sed/awk code to obtain this please.

I think you could build over the solutions presented in think link.

That did not help, sorry! There is no output produced by the grep & awk command

You will need to adapt it slightly for your case.