mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 20:46:36 +00:00
Update cheatsheets
This commit is contained in:
29
linux/userdbctl
Normal file
29
linux/userdbctl
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
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/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`
|
||||
Reference in New Issue
Block a user