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

Diff for /src/etc/Attic/security between version 1.35 and 1.36

version 1.35, 2000/04/16 20:46:22 version 1.36, 2000/05/26 14:54:17
Line 53 
Line 53 
                          printf("Login %s is off but still has a valid shell and alternate access files in\n\t home directory are still readable.\n",$1);                           printf("Login %s is off but still has a valid shell and alternate access files in\n\t home directory are still readable.\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);
         if ($3 < 0)          if ($3 < 0)
                 printf("Login %s has a negative user id.\n", $1);                  printf("Login %s has a negative user ID.\n", $1);
         if ($4 < 0)          if ($4 < 0)
                 printf("Login %s has a negative group id.\n", $1);                  printf("Login %s has a negative group ID.\n", $1);
 }' < $MP > $OUTPUT  }' < $MP > $OUTPUT
 if [ -s $OUTPUT ] ; then  if [ -s $OUTPUT ] ; then
         printf "\nChecking the $MP file:\n"          printf "\nChecking the $MP file:\n"
Line 73 
Line 73 
 awk -F: '{ print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 |  awk -F: '{ print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 |
 uniq -d -f 1 | awk '{ print $2 }' > $TMP2  uniq -d -f 1 | awk '{ print $2 }' > $TMP2
 if [ -s $TMP2 ] ; then  if [ -s $TMP2 ] ; then
         printf "\n$MP has duplicate user id's.\n"          printf "\n$MP has duplicate user ID's.\n"
         while read uid; do          while read uid; do
                 grep -w $uid $TMP1                  grep -w $uid $TMP1
         done < $TMP2 | column          done < $TMP2 | column
Line 117 
Line 117 
         if (length($1) > 8)          if (length($1) > 8)
                 printf("Group %s has more than 8 characters.\n", $1);                  printf("Group %s has more than 8 characters.\n", $1);
         if ($3 !~ /[0-9]*/)          if ($3 !~ /[0-9]*/)
                 printf("Login %s has a negative group id.\n", $1);                  printf("Login %s has a negative group ID.\n", $1);
 }' < $GRP > $OUTPUT  }' < $GRP > $OUTPUT
 if [ -s $OUTPUT ] ; then  if [ -s $OUTPUT ] ; then
         printf "\nChecking the $GRP file:\n"          printf "\nChecking the $GRP file:\n"

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36