mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
Use proper PATH in front of monthly
Eliminate Subject duplication for insecure output
This commit is contained in:
parent
a1b5ac1149
commit
4db41bb804
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user