From 5a2662e03d6d2206105e7c87343c17ac9d1f28b1 Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Thu, 16 Dec 1999 16:21:28 +0000 Subject: *** empty log message *** --- cron-sh/diff_check.sh | 2 +- cron-sh/security_check.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cron-sh') diff --git a/cron-sh/diff_check.sh b/cron-sh/diff_check.sh index 62d52e8..6c22184 100755 --- a/cron-sh/diff_check.sh +++ b/cron-sh/diff_check.sh @@ -43,7 +43,7 @@ UNOWNED_YESTERDAY="/var/log/security/unowned.yesterday" UNOWNED_DIFF="/var/log/security/unowned.diff" SECURITY_LOG="/var/log/security.log" -TMP="/tmp/secure.tmp" +TMP=`mktemp /tmp/secure.XXXXXX` if [[ ! -d /var/log/security ]]; then mkdir /var/log/security diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 800b0c0..6f73f72 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -15,9 +15,9 @@ if [[ ${CHECK_SECURITY} != yes ]]; then exit 0 fi -SECURITY="/tmp/secure.log" +SECURITY=`mktemp /tmp/secure.log` SECURITY_LOG="/var/log/security.log" -TMP="/tmp/secure.tmp" +TMP=`mktemp /tmp/secure.tmp` if [[ ! -d /var/log/security ]]; then mkdir /var/log/security -- cgit v1.2.1