Use proper PATH in front of monthly

Eliminate Subject duplication for insecure output
This commit is contained in:
ache 1995-05-27 01:31:40 +00:00
parent a1b5ac1149
commit 4db41bb804
2 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#
# @(#)daily 5.12 (Berkeley) 5/24/91
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
PATH=/bin:/usr/bin:/sbin:/usr/sbin
host=`hostname -s`
echo "Subject: $host daily run output"
bak=/var/backups
@ -130,4 +130,4 @@ if [ -f /etc/Distfile ]; then
rdist -f /etc/Distfile
fi
sh /etc/security 2>&1 | mail -s "daily insecurity output" root
sh /etc/security 2>&1 | sendmail root

View File

@ -3,6 +3,7 @@
# @(#)monthly 5.5 (Berkeley) 6/17/91
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin
host=`hostname -s`
echo "Subject: $host monthly run output"