summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2021-04-14 14:00:00 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2021-04-14 14:00:00 +0000
commitac204779d2c1395116d980e4f1ba5ee323ebe1ea (patch)
tree41ee2761094f9f5ae96be495e80ec9026b3f3106 /usr.bin
parent7bbde89bed33c3a703b008a299e88c5015bc63c6 (diff)
_PASSWORD_LEN is no longer the limit for an unencrypted password.
It is now used as the max length of the encrypted password hash. From Benjamin Baier.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/passwd/passwd.17
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1
index 33167ecb81a..262e7bffa0f 100644
--- a/usr.bin/passwd/passwd.1
+++ b/usr.bin/passwd/passwd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: passwd.1,v 1.46 2019/04/23 17:52:12 schwarze Exp $
+.\" $OpenBSD: passwd.1,v 1.47 2021/04/14 13:59:59 millert Exp $
.\"
.\" Copyright (c) 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)passwd.1 6.11 (Berkeley) 7/24/91
.\"
-.Dd $Mdocdate: April 23 2019 $
+.Dd $Mdocdate: April 14 2021 $
.Dt PASSWD 1
.Os
.Sh NAME
@@ -51,9 +51,6 @@ The new password must be entered twice to avoid typing errors.
.Pp
The new password should be at least six characters long and not
purely alphabetic.
-Its total length must be less than
-.Dv _PASSWORD_LEN
-(currently 128 characters).
A mixture of both lower and uppercase letters, numbers, and
meta-characters is encouraged.
.Pp