Return to security CVS log | Up to [cvs.NetBSD.org] / src / etc |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.76, 2002/06/10 16:04:48 | version 1.77, 2002/06/18 22:21:43 | ||
---|---|---|---|
|
|
||
printf "Login %s has no password.\n", $1; | printf "Login %s has no password.\n", $1; | ||
if (length($2) != 13 && | if (length($2) != 13 && | ||
length($2) != 20 && | length($2) != 20 && | ||
length($2) != 34 && | $2 !~ /\$1/ && | ||
$2 !~ /\$2/ && | |||
$2 != "" && | $2 != "" && | ||
$2 !~ /^\*[A-z-]+$/ && | $2 !~ /^\*[A-z-]+$/ && | ||
$1 != "toor") { | $1 != "toor") { |