tldr/pages/linux/lslogins.md

29 lines
469 B
Markdown
Raw Permalink Normal View History

2020-10-12 22:16:02 +01:00
# 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`