summaryrefslogtreecommitdiffstats
path: root/man/useradd.8.xml
diff options
context:
space:
mode:
Diffstat (limited to 'man/useradd.8.xml')
-rw-r--r--man/useradd.8.xml31
1 files changed, 28 insertions, 3 deletions
diff --git a/man/useradd.8.xml b/man/useradd.8.xml
index a36db79..001e7d1 100644
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -263,7 +263,9 @@
intervening whitespace. The groups are subject to the same
restrictions as the group given with the <option>-g</option>
option. The default is for the user to belong only to the
- initial group.
+ initial group. In addition to passing in the -G flag, you can
+ add the option <option>GROUPS</option> to the file <filename>/etc/default/useradd</filename>
+ which in turn will add all users to those supplementary groups.
</para>
</listitem>
</varlistentry>
@@ -294,6 +296,11 @@
<filename>/etc/skel</filename>.
</para>
<para>
+ Absolute symlinks that link back to the skel directory will have
+ the <filename>/etc/skel</filename> prefix replaced with the user's
+ home directory.
+ </para>
+ <para>
If possible, the ACLs and extended attributes are copied.
</para>
</listitem>
@@ -568,13 +575,31 @@
<listitem>
<para>
defines the SELinux user for the new account. Without this
- option, a SELinux uses the default user. Note that the
+ option, SELinux uses the default user. Note that the
shadow system doesn't store the selinux-user, it uses
<citerefentry><refentrytitle>semanage</refentrytitle>
<manvolnum>8</manvolnum></citerefentry> for that.
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>
+ <option>--selinux-range</option>&nbsp;<replaceable>SERANGE</replaceable>
+ </term>
+ <listitem>
+ <para>
+ defines the SELinux MLS range for the new account. Without this
+ option, SELinux uses the default range. Note that the
+ shadow system doesn't store the selinux-range, it uses
+ <citerefentry><refentrytitle>semanage</refentrytitle>
+ <manvolnum>8</manvolnum></citerefentry> for that.
+ </para>
+ <para>
+ This option is only valid if the <option>-Z</option> (or
+ <option>--selinux-user</option>) option is specified.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
<refsect2 id='changing_the_default_values'>
@@ -702,7 +727,7 @@
the <command>ls</command> output.
</para>
<para>
- Usernames may only be up to 32 characters long.
+ Usernames may only be up to 256 characters long.
</para>
</refsect1>