[BACK]Return to security CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/security between version 1.106 and 1.107

version 1.106, 2009/01/27 10:32:18 version 1.107, 2010/01/19 22:08:11
Line 25  fi
Line 25  fi
 # Set reasonable defaults (if they're not set in security.conf)  # Set reasonable defaults (if they're not set in security.conf)
 #  #
 backup_dir=${backup_dir:-/var/backups}  backup_dir=${backup_dir:-/var/backups}
 pkgdb_dir=${pkgdb_dir:-/var/db/pkg}  pkgdb_dir=${pkgdb_dir:-/var/db/pkg} # TODO Inherit from daily.conf.
 max_loginlen=${max_loginlen:-8}  max_loginlen=${max_loginlen:-8}
 max_grouplen=${max_grouplen:-8}  max_grouplen=${max_grouplen:-8}
 pkg_info=${pkg_info:-/usr/sbin/pkg_info}  pkg_info=${pkg_info:-/usr/sbin/pkg_info}
Line 992  if [ -n "$CHANGELIST" ]; then
Line 992  if [ -n "$CHANGELIST" ]; then
         done          done
 fi  fi
   
   if pkg_info -K ${pkgdb_dir} -q -E '*'; then
           if checkyesno check_pkg_vulnerabilities; then
                   pkg_admin -K ${pkgdb_dir} audit >${OUTPUT} 2>&1
                   if [ -s ${OUTPUT} ]; then
                           printf "\nInstalled vulnerable packages:\n"
                           cat ${OUTPUT}
                   fi
           fi
   
           if checkyesno check_pkg_signatures; then
                   pkg_admin -K ${pkgdb_dir} check >${OUTPUT} 2>&1
                   if [ $? -ne 0 ]; then
                           printf "\nFiles with invalid signatures:\n"
                           cat ${OUTPUT}
                   fi
           fi
   fi
   
 if [ -f /etc/security.local ]; then  if [ -f /etc/security.local ]; then
         . /etc/security.local > $OUTPUT 2>&1          . /etc/security.local > $OUTPUT 2>&1
         if [ -s $OUTPUT ] ; then          if [ -s $OUTPUT ] ; then

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107

CVSweb <webmaster@jp.NetBSD.org>