LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

userdbctl

Query systemd user and group database

TLDR

List all users
$ userdbctl user
copy
Show specific user
$ userdbctl user [username]
copy
List all groups
$ userdbctl group
copy
Show specific group
$ userdbctl group [groupname]
copy
List services providing definitions
$ userdbctl services
copy

SYNOPSIS

userdbctl [OPTIONS] COMMAND [NAME]

DESCRIPTION

userdbctl inspects users, groups, and group memberships on the system. It provides a unified interface to query user and group information from various sources including /etc/passwd, LDAP, and systemd-homed.The tool aggregates information from all services registered with systemd-userdbd.

COMMANDS

user [NAME]

List users or show specific user
group [NAME]
List groups or show specific group
services
List services providing user/group definitions

INSTALL

sudo apt install systemd-userdbd
copy

CAVEATS

Systemd-based systems only. Output format differs from traditional getent. Some sources may require additional services running.

SEE ALSO

getent(1), id(1), homectl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid