summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorwblock <wblock@FreeBSD.org>2014-02-14 15:46:06 +0000
committerwblock <wblock@FreeBSD.org>2014-02-14 15:46:06 +0000
commit8d4bcb774dce6bb000fc574e02f978d756ab6922 (patch)
tree0b6057ce461221ddc2a2a05b62dc90c43e7187ab /usr.bin
parent9872b563d1e92a8cbf67d1756c4fd0bfa85c5eab (diff)
downloadFreeBSD-src-8d4bcb774dce6bb000fc574e02f978d756ab6922.zip
FreeBSD-src-8d4bcb774dce6bb000fc574e02f978d756ab6922.tar.gz
Remove mention of minimum password length and upper/lower case checking,
patch supplied by Allan Jude <freebsd@allanjude.com>. Add xref to pam_passwdqc(8), where that testing is now done. PR: docs/184482 Submitted by: Ryan Gerstenkorn <ryan_gerstenkorn@fastmail.fm> Reviewed by: jilles, eadler MFC after: 3 days
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/passwd/passwd.122
1 files changed, 3 insertions, 19 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1
index dbb5a4d..c3d67f0 100644
--- a/usr.bin/passwd/passwd.1
+++ b/usr.bin/passwd/passwd.1
@@ -28,7 +28,7 @@
.\" @(#)passwd.1 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd June 6, 1993
+.Dd February 14, 2014
.Dt PASSWD 1
.Os
.Sh NAME
@@ -59,27 +59,10 @@ The
.Nm
utility prompts for the new password twice in order to detect typing errors.
.Pp
-The new password should be at least six characters long (which
-may be overridden using the
-.Xr login.conf 5
-.Dq minpasswordlen
-setting for a user's login class) and not purely alphabetic.
-Its total length must be less than
+The total length of the password must be less than
.Dv _PASSWORD_LEN
(currently 128 characters).
.Pp
-The new password should contain a mixture of upper and lower case
-characters (which may be overridden using the
-.Xr login.conf 5
-.Dq mixpasswordcase
-setting for a user's login class).
-Allowing lower case passwords may
-be useful where the password file will be used in situations where only
-lower case passwords are permissible, such as when using Samba to
-authenticate Windows clients.
-In all other situations, numbers, upper
-case letters and meta characters are encouraged.
-.Pp
Once the password has been verified,
.Nm
communicates the new password information to
@@ -230,6 +213,7 @@ login class capabilities database
.Xr passwd 5 ,
.Xr kerberos 8 ,
.Xr kpasswdd 8 ,
+.Xr pam_passwdqc 8 ,
.Xr pw 8 ,
.Xr pwd_mkdb 8 ,
.Xr vipw 8
OpenPOWER on IntegriCloud