summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-08-01 22:39:08 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-08-01 22:39:08 +0000
commit9df06b033e86f6d1fb3df02e2f502151344cb2f7 (patch)
treeb74afb90febe1ba2af308677fdbfa6a3641d959d
parent9b7668bc84035435015f2982751fe30ad8582e72 (diff)
document pwdcheck and pwdtries
-rw-r--r--share/man/man5/passwd.conf.515
1 files changed, 14 insertions, 1 deletions
diff --git a/share/man/man5/passwd.conf.5 b/share/man/man5/passwd.conf.5
index d215df0a0a2..bc5fa9125f4 100644
--- a/share/man/man5/passwd.conf.5
+++ b/share/man/man5/passwd.conf.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: passwd.conf.5,v 1.9 2000/03/19 19:25:31 aaron Exp $
+.\" $OpenBSD: passwd.conf.5,v 1.10 2000/08/01 22:39:07 provos Exp $
.\"
.\" Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
.\" All rights reserved.
@@ -71,6 +71,19 @@ It specifies the base 2 logarithm of the number of rounds.
.It Sy ypcipher
The cipher to use for YP passwords.
The possible values are the same as for localcipher.
+.It Sy pwdcheck
+An external program that checks the quality of the password. The
+password is passed to the program on
+.Pa stdin .
+An exit code of 0 indicates that the quality of the password is
+sufficient, an exit code of 1 signals that the password failed
+the check.
+.It Sy pwdtries
+The number of times
+.Xr passwd 1
+enforces a check on the password. If it is 0, the new password
+will only be accepted if it passes the password quality check.
+The default is 3.
.El
.Pp
To retrieve information from this file use