From 46c44c4aa32d03cbf640edc1e388d7f4a6cc649a Mon Sep 17 00:00:00 2001 From: Yoann Vandoorselaere Date: Fri, 17 Dec 1999 14:17:22 +0000 Subject: *** empty log message *** --- ChangeLog | 3 +++ cron-sh/security_check.sh | 6 ++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index b33063d..a5e9d20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +1999-12-17 Yoann Vandoorselaere + * security_check.sh: fix the mktemp problem + 1999-12-16 Yoann Vandoorselaere * Don't use msec parsing routine to hack inittab. * Indentation problem should be corrected diff --git a/cron-sh/security_check.sh b/cron-sh/security_check.sh index 6f73f72..87c7043 100755 --- a/cron-sh/security_check.sh +++ b/cron-sh/security_check.sh @@ -15,16 +15,14 @@ if [[ ${CHECK_SECURITY} != yes ]]; then exit 0 fi -SECURITY=`mktemp /tmp/secure.log` +SECURITY=`mktemp /tmp/secure.XXXXXX` SECURITY_LOG="/var/log/security.log" -TMP=`mktemp /tmp/secure.tmp` +TMP=`mktemp /tmp/secure.XXXXXX` if [[ ! -d /var/log/security ]]; then mkdir /var/log/security fi -rm -f ${SECURITY} ${TMP} >& /dev/null - ### Functions ### Syslog() { -- cgit v1.2.1