O'Reilly logo
  • nthesis bv thinks this is interesting:

A convenient command to check this is

From

Cover of Red Hat® RHCSA™/RHCE® 7 Cert Guide: Red Hat Enterprise Linux 7 (EX200 and EX300)

Note

command ‘lid’ shows both primary and secondary group memberships