summaryrefslogtreecommitdiff
path: root/man/useradd.8.xml
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2022-11-10 16:24:14 +0100
committerBalint Reczey <balint@balintreczey.hu>2022-11-10 16:24:14 +0100
commite4bc4e00d3dfaa757acf6573fa88af229ca7a0ec (patch)
treefd4840421820637848a9282adafb67c7a8dfb727 /man/useradd.8.xml
parentf17d14fa1d2cf42b747ee17f5b16ebb9ebee1c5a (diff)
parent3987cc788047570ecf10707dfc8958780d85c73c (diff)
downloadshadow-e4bc4e00d3dfaa757acf6573fa88af229ca7a0ec.tar.gz
Update upstream source from tag 'upstream/4.13+dfsg1'
Update to upstream version '4.13+dfsg1' with Debian dir 6bdb48f7b167b4b8af033e28bcd3ee281ccb9b99
Diffstat (limited to 'man/useradd.8.xml')
-rw-r--r--man/useradd.8.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/man/useradd.8.xml b/man/useradd.8.xml
index af02a23f..a36db793 100644
--- a/man/useradd.8.xml
+++ b/man/useradd.8.xml
@@ -522,7 +522,7 @@
the system will use the <option>SHELL</option> variable specified
in <filename>/etc/default/useradd</filename>, or, if that is as
well not set, the field for the login shell in <filename>/etc/passwd
- </filename>remains empty.
+ </filename> remains empty.
</para>
</listitem>
</varlistentry>
@@ -692,10 +692,14 @@
</para>
<para>
- Usernames must start with a lower case letter or an underscore,
- followed by lower case letters, digits, underscores, or dashes.
- They can end with a dollar sign.
- In regular expression terms: [a-z_][a-z0-9_-]*[$]?
+ Usernames may contain only lower and upper case letters, digits,
+ underscores, or dashes. They can end with a dollar sign.
+
+ Dashes are not allowed at the beginning of the username.
+ Fully numeric usernames and usernames . or .. are
+ also disallowed. It is not recommended to use usernames beginning
+ with . character as their home directories will be hidden in
+ the <command>ls</command> output.
</para>
<para>
Usernames may only be up to 32 characters long.