
lslogins:tldr:fb063
The "lslogins" command is used to list login-related information for users on a system. The "--supp-groups" option is used in conjunction with the lslogins command to display supplementary groups associated with each user.
When you run the "lslogins --supp-groups" command, it will provide a list of users on the system along with additional information such as the UID (user identifier), GID (group identifier), the primary group, login class, GECOS field (user information), and supplementary groups.
Supplementary groups are additional groups that a user may be a member of, apart from their primary group. These supplementary groups can grant the user certain access rights or permissions to specific resources.
By using the "--supp-groups" option, you can get a comprehensive view of the groups each user is associated with, helping you to understand their access levels and permissions on the system.