diff -r 3179bc45c83c -r cc078ac2fddd security.d/chk_passwd --- a/security.d/chk_passwd Sat Aug 15 16:01:10 2009 +0200 +++ b/security.d/chk_passwd Tue Sep 22 20:26:20 2009 +0200 @@ -94,7 +94,7 @@ printf "\tLine %d includes entries with uid 0.\n", NR; next; } - if ($1 !~ /^[A-Za-z0-9]([-A-Za-z0-9]*[A-Za-z0-9\$])*$/) + if ($1 !~ /^[A-Za-z0-9]([-A-Za-z0-9_]*[A-Za-z0-9\$])*$/) printf "\tLogin %s has non-alphanumeric characters.\n", $1; if (length($1) > len) printf "\tLogin %s has more than "len" characters.\n", $1;