summaryrefslogtreecommitdiffstats
path: root/share/man/man5
diff options
context:
space:
mode:
authorwblock <wblock@FreeBSD.org>2014-06-05 01:20:25 +0000
committerwblock <wblock@FreeBSD.org>2014-06-05 01:20:25 +0000
commitb1be605bc675fb51565f7c7281dbb7617c6f8885 (patch)
tree7355e52003b4ce0c9d32096b9cd936fa8fbd75fb /share/man/man5
parent4deeb9da7cc09e7caee85d76a88b51aa474b7fa7 (diff)
downloadFreeBSD-src-b1be605bc675fb51565f7c7281dbb7617c6f8885.zip
FreeBSD-src-b1be605bc675fb51565f7c7281dbb7617c6f8885.tar.gz
MFC r266828:
Correct the description of characters allowed. Based on pw_checkname in usr.sbin/pw/pw_user.c. Modified version of patch submitted by venture37.
Diffstat (limited to 'share/man/man5')
-rw-r--r--share/man/man5/passwd.524
1 files changed, 17 insertions, 7 deletions
diff --git a/share/man/man5/passwd.5 b/share/man/man5/passwd.5
index c49b0f7..a5c2935 100644
--- a/share/man/man5/passwd.5
+++ b/share/man/man5/passwd.5
@@ -129,19 +129,29 @@ Routines
that manipulate these files will often return only one of the multiple
entries, and that one by random selection.
.Pp
-The login name must never begin with a hyphen
-.Pq Ql - ;
-also, it is strongly
-suggested that neither upper-case characters or dots
-.Pq Ql \&.
-be part
-of the name, as this tends to confuse mailers.
+The login name must not begin with a hyphen
+.Pq Ql \&- ,
+and cannot contain 8-bit characters, tabs or spaces, or any of these
+symbols:
+.Ql \&,:+&#%^\&(\&)!@~*?<>=|\e\\&/" .
+The dollar symbol
+.Pq Ql \&$
+is allowed only as the last character for use with Samba.
No field may contain a
colon
.Pq Ql \&:
as this has been used historically to separate the fields
in the user database.
.Pp
+Case is significant.
+Login names
+.Ql Lrrr
+and
+.Ql lrrr
+represent different users.
+Be aware of this when interoperating with systems that do not have
+case-sensitive login names.
+.Pp
In the
.Nm master.passwd
file,
OpenPOWER on IntegriCloud