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:
parent
afa3985979
commit
db1d04d6d9
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user