1 <?xml version='1.0'?> <!--*-nxml-*-->
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
6 This file is part of systemd.
8 Copyright 2014 Lennart Poettering
10 systemd is free software; you can redistribute it and/or modify it
11 under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation; either version 2.1 of the License, or
13 (at your option) any later version.
15 systemd is distributed in the hope that it will be useful, but
16 WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 Lesser General Public License for more details.
20 You should have received a copy of the GNU Lesser General Public License
21 along with systemd; If not, see <http://www.gnu.org/licenses/>.
24 <refentry id="systemd-sysusers"
25 xmlns:xi="http://www.w3.org/2001/XInclude">
28 <title>systemd-sysusers</title>
29 <productname>systemd</productname>
33 <contrib>Developer</contrib>
34 <firstname>Lennart</firstname>
35 <surname>Poettering</surname>
36 <email>lennart@poettering.net</email>
42 <refentrytitle>systemd-sysusers</refentrytitle>
43 <manvolnum>8</manvolnum>
47 <refname>systemd-sysusers</refname>
48 <refname>systemd-sysusers.service</refname>
49 <refpurpose>Allocate system users and groups</refpurpose>
54 <command>systemd-sysusers</command>
55 <arg choice="opt" rep="repeat">OPTIONS</arg>
56 <arg choice="opt" rep="repeat"><replaceable>CONFIGFILE</replaceable></arg>
59 <para><filename>systemd-sysusers.service</filename></para>
63 <title>Description</title>
65 <para><command>systemd-sysusers</command> creates
66 system users and groups, based on the file format and
68 <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>.
71 <para>If invoked with no arguments, it applies all
72 directives from all files found. If one or more
73 filenames are passed on the command line, only the
74 directives in these files are applied. If only the
75 basename of a file is specified, all directories as
77 <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>
78 are searched for a matching file. If the string
79 <filename>-</filename> is specified as filenames
80 entries from the standard input of the process are
85 <title>Options</title>
87 <para>The following options are understood:</para>
91 <term><option>--root=<replaceable>root</replaceable></option></term>
92 <listitem><para>Takes a directory path
93 as an argument. All paths will be
94 prefixed with the given alternate <replaceable>root</replaceable>
95 path, including config search paths.
99 <xi:include href="standard-options.xml" xpointer="help" />
100 <xi:include href="standard-options.xml" xpointer="version" />
106 <title>Exit status</title>
108 <para>On success, 0 is returned, a non-zero failure
109 code otherwise.</para>
113 <title>See Also</title>
115 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
116 <citerefentry><refentrytitle>sysusers.d</refentrytitle><manvolnum>5</manvolnum></citerefentry>