useradd: add -F option for updating /etc/sub[ig]id for system accounts
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
This commit is contained in:
committed by
Iker Pedrosa
parent
fb96d3f84d
commit
3f7a72e967
@@ -213,6 +213,18 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-F</option>, <option>--add-subids-for-system</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Update <filename>/etc/subuid</filename> and <filename>
|
||||
/etc/subgid</filename> even when creating a system account
|
||||
with <option>-r</option> option.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-g</option>, <option>--gid</option> <replaceable>GROUP</replaceable>
|
||||
@@ -466,7 +478,9 @@
|
||||
</para>
|
||||
<para>
|
||||
Note that this option will not update <filename>/etc/subuid
|
||||
</filename> and <filename>/etc/subgid</filename>.
|
||||
</filename> and <filename>/etc/subgid</filename>. You have to
|
||||
specify the <option>-F</option> options if you want to update
|
||||
the files for a system account to be created.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Reference in New Issue
Block a user