Make sure the security check output includes a To: line in the

same way the daily run output does.
This commit is contained in:
Mike Silbersack 2001-11-28 04:07:03 +00:00
parent 01a0db1367
commit b5c013b6b9
2 changed files with 1 additions and 3 deletions

View File

@ -37,7 +37,7 @@ case "$daily_status_security_enable" in
*)
echo " (output mailed separately)"
sh /etc/security $args 2>&1 |
sendmail $daily_status_security_output;;
mail -s "`hostname` security check output" $daily_status_security_output;;
esac;;
esac;;

View File

@ -58,8 +58,6 @@ done
yesterday=`date -v-1d "+%b %e "`
host=`hostname`
[ $sflag = FALSE ] && echo "To: root@${host}"
[ $sflag = FALSE ] && echo "Subject: ${host} security check output"
umask 027