Tighten up temporary file permissions and move them to ${TMPDIR:-/tmp}

Problem reported by:	lumpy <lumpy@the.whole.net>
MFC after:		3 days
This commit is contained in:
Brian Somers 2002-05-17 11:34:12 +00:00
parent afa3985979
commit db1d04d6d9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96805
7 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
LOG="${daily_status_security_logdir}"
rc=0

View File

@ -38,7 +38,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
LOG="${daily_status_security_logdir}"
ignore="${daily_status_security_chkmounts_ignore}"
rc=0

View File

@ -39,7 +39,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
LOG="${daily_status_security_logdir}"
rc=0

View File

@ -38,7 +38,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
rc=0
case "$daily_status_security_ipfwlimit_enable" in

View File

@ -38,7 +38,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
LOG="${daily_status_security_logdir}"
rc=0

View File

@ -38,7 +38,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
rc=0
case "$daily_status_security_ip6fwlimit_enable" in

View File

@ -38,7 +38,7 @@ then
source_periodic_confs
fi
TMP=/var/run/_secure.$$
TMP=`mktemp ${TMPDIR:-/tmp}/security.XXXXXXXXXX`
LOG="${daily_status_security_logdir}"
rc=0