[BACK]Return to security CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/Attic/security between version 1.21 and 1.22

version 1.21, 1997/09/02 06:46:42 version 1.22, 1997/09/29 22:15:58
Line 43 
Line 43 
                 printf("Login %s has more than 8 characters.\n", $1);                  printf("Login %s has more than 8 characters.\n", $1);
         if ($2 == "")          if ($2 == "")
                 printf("Login %s has no password.\n", $1);                  printf("Login %s has no password.\n", $1);
         if ((length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "")) && ($2 !~ /^\$[0-9]+\$/) && system("if grep -q \"^"$1" \" /etc/skeykeys || test -d "$9"/.ssh -a ! -O "$9"/.ssh ; then exit 1 ; fi ; for i in .rhosts .shosts .klogin ; do test -s "$9"/$i -a ! -O "$9"/$i && exit 1 ; done ; exit 0") != 0)          if ((length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "")) && ($2 !~ /^\$[0-9a-f]+\$/) && system("if grep -q \"^"$1" \" /etc/skeykeys || test -d "$9"/.ssh -a ! -O "$9"/.ssh ; then exit 1 ; fi ; for i in .rhosts .shosts .klogin ; do test -s "$9"/$i -a ! -O "$9"/$i && exit 1 ; done ; exit 0") != 0)
                 printf("Login %s is off but still has a valid shell.\n", $1);                  printf("Login %s is off but still has a valid shell.\n", $1);
         if ($3 == 0 && $1 != "root")          if ($3 == 0 && $1 != "root")
                 printf("Login %s has a user id of 0.\n", $1);                  printf("Login %s has a user id of 0.\n", $1);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22