diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-31 19:12:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-31 19:12:11 +0000 |
commit | cd2c68dd712944d1e2025e45122f902feb398d6a (patch) | |
tree | 52b88f9ae2488a0f614d721d31fcbef114ee44ab | |
parent | d613eeedff667aa4c64353fb667b5db1a31e5a25 (diff) |
more fat utmp; ianm@cit.uws.edu.au
-rw-r--r-- | etc/security | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/security b/etc/security index 56eea6743b2..1fa7a69a761 100644 --- a/etc/security +++ b/etc/security @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: security,v 1.43 2000/12/22 08:04:48 todd Exp $ +# $OpenBSD: security,v 1.44 2001/01/31 19:12:10 deraadt Exp $ # from: @(#)security 8.1 (Berkeley) 6/9/93 # @@ -39,8 +39,8 @@ awk -F: '{ printf("Line %d has an empty login field:\n%s\n", NR, $0); else if ($1 !~ /^[A-Za-z0-9][A-Za-z0-9_-]*$/) printf("Login %s has non-alphanumeric characters.\n", $1); - if (length($1) > 8) - printf("Login %s has more than 8 characters.\n", $1); + if (length($1) > 32) + printf("Login %s has more than 32 characters.\n", $1); if ($2 == "") printf("Login %s has no password.\n", $1); if ($2 != "" && length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "") && |