From f070228d1ca54db2f090f1ffda276e314d6045e7 Mon Sep 17 00:00:00 2001 From: Shashank Hebbar Date: Mon, 11 Sep 2023 18:01:50 +0530 Subject: [PATCH] systemd-sysusers: add page (#10693) Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/linux/systemd-sysusers.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/linux/systemd-sysusers.md diff --git a/pages/linux/systemd-sysusers.md b/pages/linux/systemd-sysusers.md new file mode 100644 index 0000000000..cf5246e0b7 --- /dev/null +++ b/pages/linux/systemd-sysusers.md @@ -0,0 +1,17 @@ +# systemd-sysusers + +> Create system users and groups. +> If the config file is not specified, files in the `sysusers.d` directories are used. +> More information: . + +- 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`