lslogins
Show information about users on a Linux system. More information: https://man7.org/linux/man-pages/man1/lslogins.1.html.
- Display users in the system:
lslogins
- Display users belonging to a specific group:
lslogins --groups={{groups}}
- Display user accounts:
lslogins --user-accs
- Display last logins:
lslogins --last
- Display system accounts:
lslogins --system-accs
- Display supplementary groups:
lslogins --supp-groups