# HG changeset patch # User root@seaport.mbse.ym # Date 1253643980 -7200 # Node ID cc078ac2fddde3cabfa628f096c10c3062b62cbd # Parent 3179bc45c83c976f9e83f2a251b1d9a1fc4b489b Allow underscore in account names diff -r 3179bc45c83c -r cc078ac2fddd cron.daily/security --- a/cron.daily/security Sat Aug 15 16:01:10 2009 +0200 +++ b/cron.daily/security Tue Sep 22 20:26:20 2009 +0200 @@ -25,7 +25,7 @@ # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. ############################################################################# -VERSION=0.14 +VERSION=0.15 export PATH=/bin:/usr/bin:/sbin:/usr/sbin umask 077 LANG=C; export LANG 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;