2020-10-12 22:16:02 +01:00
|
|
|
# lslogins
|
|
|
|
|
|
|
|
> Show information about users on a Linux system.
|
2024-06-18 04:44:58 +01:00
|
|
|
> More information: <https://manned.org/lslogins>.
|
2020-10-12 22:16:02 +01:00
|
|
|
|
|
|
|
- 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`
|