svn commit: r267088 - stable/9/share/man/man5
Warren Block
wblock at FreeBSD.org
Thu Jun 5 01:52:21 UTC 2014
Author: wblock (doc committer)
Date: Thu Jun 5 01:52:20 2014
New Revision: 267088
URL: http://svnweb.freebsd.org/changeset/base/267088
Log:
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.
Approved by: re (gjb)
Modified:
stable/9/share/man/man5/passwd.5
Directory Properties:
stable/9/share/man/man5/ (props changed)
Modified: stable/9/share/man/man5/passwd.5
==============================================================================
--- stable/9/share/man/man5/passwd.5 Thu Jun 5 01:20:25 2014 (r267087)
+++ stable/9/share/man/man5/passwd.5 Thu Jun 5 01:52:20 2014 (r267088)
@@ -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,
More information about the svn-src-stable-9
mailing list