summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorwblock <wblock@FreeBSD.org>2014-02-18 03:39:20 +0000
committerwblock <wblock@FreeBSD.org>2014-02-18 03:39:20 +0000
commitdd5bb071cd203986ef23e5ceecdcef3cea848542 (patch)
tree7607bf286ac746bf69664aa8d9c369f8daee9f83 /usr.bin
parent13fea399b5f6d1fb4c5f153117ed02d6d9e57450 (diff)
downloadFreeBSD-src-dd5bb071cd203986ef23e5ceecdcef3cea848542.zip
FreeBSD-src-dd5bb071cd203986ef23e5ceecdcef3cea848542.tar.gz
MFC r261895:
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.
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