mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
589 B
Plaintext
30 lines
589 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# userdbctl
|
|
|
|
> Inspect users, groups, and group memberships on the system.
|
|
> More information: <https://www.freedesktop.org/software/systemd/man/latest/userdbctl.html>.
|
|
|
|
- List all known user records:
|
|
|
|
`userdbctl`
|
|
|
|
- Show details of a specific user:
|
|
|
|
`userdbctl user {{username}}`
|
|
|
|
- List all known groups:
|
|
|
|
`userdbctl group`
|
|
|
|
- Show details of a specific group:
|
|
|
|
`userdbctl group {{groupname}}`
|
|
|
|
- List all services currently providing user/group definitions to the system:
|
|
|
|
`userdbctl services`
|