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

Diff for /src/etc/Attic/security between version 1.55 and 1.56

version 1.55, 2002/12/30 13:59:54 version 1.56, 2003/04/08 20:42:42
Line 90 
Line 90 
         else          else
                 cp -p $CUR $BACK                  cp -p $CUR $BACK
                 cp -p $MP $CUR                  cp -p $MP $CUR
                 chown root.wheel $CUR                  chown root:wheel $CUR
         fi          fi
 else  else
         cp -p $MP $CUR          cp -p $MP $CUR
         chown root.wheel $CUR          chown root:wheel $CUR
 fi  fi
   
 # Check the group file syntax.  # Check the group file syntax.
Line 595 
Line 595 
 # Create the mtree tree specifications using:  # Create the mtree tree specifications using:
 #  #
 #       mtree -cx -pDIR -kcksum,gid,mode,nlink,size,link,time,uid > DIR.secure  #       mtree -cx -pDIR -kcksum,gid,mode,nlink,size,link,time,uid > DIR.secure
 #       chown root.wheel DIR.secure  #       chown root:wheel DIR.secure
 #       chmod 600 DIR.secure  #       chmod 600 DIR.secure
 #  #
 # Note, this is not complete protection against Trojan horsed binaries, as  # Note, this is not complete protection against Trojan horsed binaries, as
Line 648 
Line 648 
                                         cat $OUTPUT                                          cat $OUTPUT
                                         cp -p $CUR $BACK                                          cp -p $CUR $BACK
                                         cp -p $file $CUR                                          cp -p $file $CUR
                                         chown root.wheel $CUR $BACK                                          chown root:wheel $CUR $BACK
                                 fi                                  fi
                         else                          else
                                 cp -p $file $CUR                                  cp -p $file $CUR
                                 chown root.wheel $CUR                                  chown root:wheel $CUR
                         fi                          fi
                 fi                  fi
         done          done
Line 670 
Line 670 
                                         echo "NEW: $MD5_NEW"                                          echo "NEW: $MD5_NEW"
                                         cp -p $CUR $BACK                                          cp -p $CUR $BACK
                                         echo $MD5_NEW > $CUR                                          echo $MD5_NEW > $CUR
                                         chown root.wheel $CUR $BACK                                          chown root:wheel $CUR $BACK
                                         chmod 600 $CUR                                          chmod 600 $CUR
                                 fi                                  fi
                         else                          else
                                 echo $MD5_NEW > $CUR                                  echo $MD5_NEW > $CUR
                                 chown root.wheel $CUR                                  chown root:wheel $CUR
                                 chmod 600 $CUR                                  chmod 600 $CUR
                         fi                          fi
                 fi                  fi

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56