aboutsummaryrefslogtreecommitdiffstats
path: root/cron-sh/security.sh
diff options
context:
space:
mode:
authorYoann Vandoorselaere <yoann@mandriva.com>2000-01-06 14:27:46 +0000
committerYoann Vandoorselaere <yoann@mandriva.com>2000-01-06 14:27:46 +0000
commit1149e92a19b241628d8e43596e4e74d11fd8e40e (patch)
tree88c38cbc0e69b5ab919655989076b4ff4904d391 /cron-sh/security.sh
parentd052b0f3888acaf897466080f0f5f1cc02305b3a (diff)
downloadmsec-1149e92a19b241628d8e43596e4e74d11fd8e40e.tar
msec-1149e92a19b241628d8e43596e4e74d11fd8e40e.tar.gz
msec-1149e92a19b241628d8e43596e4e74d11fd8e40e.tar.bz2
msec-1149e92a19b241628d8e43596e4e74d11fd8e40e.tar.xz
msec-1149e92a19b241628d8e43596e4e74d11fd8e40e.zip
*** empty log message ***
Diffstat (limited to 'cron-sh/security.sh')
-rwxr-xr-xcron-sh/security.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/cron-sh/security.sh b/cron-sh/security.sh
index f238c07..43ad9d6 100755
--- a/cron-sh/security.sh
+++ b/cron-sh/security.sh
@@ -72,11 +72,11 @@ fi
netstat -pvlA inet 2> /dev/null > ${OPEN_PORT_TODAY};
-find ${DIR} -xdev -type f -perm +04000 -user root -printf "${PRINT}" 2> /dev/null | sort > ${SUID_ROOT_TODAY}
-find ${DIR} -xdev -type f -perm +02000 -printf "${PRINT}" 2> /dev/null | sort > ${SUID_GROUP_TODAY}
-find ${DIR} -xdev -type f -perm -2 -printf "${PRINT}" 2> /dev/null | sort > ${WRITEABLE_TODAY}
-find ${DIR} -xdev -nouser -printf "${PRINT}" 2> /dev/null | sort > ${UNOWNED_USER_TODAY}
-find ${DIR} -xdev -nogroup -printf "${PRINT}" 2> /dev/null | sort > ${UNOWNED_GROUP_TODAY}
+nice --adjustment=+19 find ${DIR} -xdev -type f -perm +04000 -user root -printf "${PRINT}" 2> /dev/null | sort > ${SUID_ROOT_TODAY}
+nice --adjustment=+19 find ${DIR} -xdev -type f -perm +02000 -printf "${PRINT}" 2> /dev/null | sort > ${SUID_GROUP_TODAY}
+nice --adjustment=+19 find ${DIR} -xdev -type f -perm -2 -printf "${PRINT}" 2> /dev/null | sort > ${WRITEABLE_TODAY}
+nice --adjustment=+19 find ${DIR} -xdev -nouser -printf "${PRINT}" 2> /dev/null | sort > ${UNOWNED_USER_TODAY}
+nice --adjustment=+19 find ${DIR} -xdev -nogroup -printf "${PRINT}" 2> /dev/null | sort > ${UNOWNED_GROUP_TODAY}
while read line; do
md5sum ${line}