systemd-sysusers

Create system users and groups. If the config file is not specified, files in the sysusers.d directories are used. More information: <https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html>.

Install

All systems
curl cmd.cat/systemd-sysusers.sh
Debian Debian
apt-get install systemd
Ubuntu
apt-get install systemd
Arch Arch Linux
pacman -S systemd
image/svg+xml Kali Linux
apt-get install systemd
CentOS
yum install systemd
Fedora
dnf install systemd
Windows (WSL2)
sudo apt-get update sudo apt-get install systemd
Raspbian
apt-get install systemd

Create system users and groups. If the config file is not specified, files in the sysusers.d directories are used. More information: <https://www.freedesktop.org/software/systemd/man/systemd-sysusers.html>.

  • Create users and groups from a specific configuration file:
    systemd-sysusers path/to/file
  • Process configuration files and print what would be done without actually doing anything:
    systemd-sysusers --dry-run path/to/file
  • Print the contents of all config files (before each file, its name is printed as a comment):
    systemd-sysusers --cat-config

© tl;dr; authors and contributors