userdbctl: add page (#10662)

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
pull/23/head
Shashank Hebbar 2023-09-08 18:21:25 +05:30 committed by GitHub
parent a470dcde04
commit df770e83a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/linux/userdbctl.md Normal file
View File

@ -0,0 +1,24 @@
# userdbctl
> Inspect users, groups and group memberships on the system.
> More information: <https://www.freedesktop.org/software/systemd/man/userdbctl.html>.
- List all known user records:
`userdbctl user`
- 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`