[Midnightbsd-cvs] src [11709] trunk/share/man/man5/passwd.5: update password rules.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Jul 9 09:08:52 EDT 2018


Revision: 11709
          http://svnweb.midnightbsd.org/src/?rev=11709
Author:   laffer1
Date:     2018-07-09 09:08:52 -0400 (Mon, 09 Jul 2018)
Log Message:
-----------
update password rules.

Modified Paths:
--------------
    trunk/share/man/man5/passwd.5

Property Changed:
----------------
    trunk/share/man/man5/passwd.5

Modified: trunk/share/man/man5/passwd.5
===================================================================
--- trunk/share/man/man5/passwd.5	2018-07-09 13:08:17 UTC (rev 11708)
+++ trunk/share/man/man5/passwd.5	2018-07-09 13:08:52 UTC (rev 11709)
@@ -1,3 +1,4 @@
+.\" $MidnightBSD$
 .\"	$NetBSD: passwd.5,v 1.12.2.2 1999/12/17 23:14:50 he Exp $
 .\"
 .\" Copyright (c) 1988, 1991, 1993
@@ -33,9 +34,9 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     From: @(#)passwd.5	8.1 (Berkeley) 6/5/93
-.\" $MidnightBSD$
+.\" $FreeBSD: stable/10/share/man/man5/passwd.5 267402 2014-06-12 15:46:24Z wblock $
 .\"
-.Dd June 23, 2012
+.Dd May 29, 2014
 .Dt PASSWD 5
 .Os
 .Sh NAME
@@ -129,13 +130,14 @@
 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 \&:
@@ -142,6 +144,15 @@
 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,
@@ -234,7 +245,7 @@
 .Pp
 The full
 .Ar name
-may contain a ampersand
+may contain an ampersand
 .Pq Ql &
 which will be replaced by
 the capitalized login


Property changes on: trunk/share/man/man5/passwd.5
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list