diff options
author | nik <nik@FreeBSD.org> | 2000-02-11 13:45:51 +0000 |
---|---|---|
committer | nik <nik@FreeBSD.org> | 2000-02-11 13:45:51 +0000 |
commit | 83b8d2aa7a935f83e069e213c8760468738ae41e (patch) | |
tree | 4a1e2a66b80efa3188d6044ebc8911f9fbe672ed | |
parent | 61618b16201aa7b35c598a15b49158a2f2434a5f (diff) | |
download | FreeBSD-src-83b8d2aa7a935f83e069e213c8760468738ae41e.zip FreeBSD-src-83b8d2aa7a935f83e069e213c8760468738ae41e.tar.gz |
Teach passwd about a new "mixpasswordcase" login.conf parameter. If this
parameter is missing, or specified as above, then passwd behaves as normal
when the user enters an all lower case password -- i.e., it prompts them
to use mixed case, and will only grudgingly accept an all lower case
password.
If you negate this entry in login.conf, with "mixpasswordcase@", then
passwd will allow all lower case passwords without complaining.
Approved by: jkh
-rw-r--r-- | usr.bin/passwd/passwd.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/passwd/passwd.1 b/usr.bin/passwd/passwd.1 index 8019c75..383674b 100644 --- a/usr.bin/passwd/passwd.1 +++ b/usr.bin/passwd/passwd.1 @@ -70,8 +70,17 @@ setting for a user's login class) and not purely alphabetic. Its total length must be less than .Dv _PASSWORD_LEN (currently 128 characters). -Numbers, upper case letters and meta characters -are encouraged. +.Pp +The new password should contain a mixture of upper and lower case +characters (which may be overridden using the +.Xr login.conf 5 +.if t ``mixpasswordcase'' +.if n "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 permissable, 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 passwd |