mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Use proper PATH in front of monthly
Eliminate Subject duplication for insecure output
This commit is contained in:
parent
a0e9ec2476
commit
d55b3b5a2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8783
@ -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