mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 12:07:10 +01:00
Make periodic(8) and the security mailings reflect the full FQDN, as opposed
to a hostname. This will help those who keep a cluster of machines all with the same hostname but different domain names. PR: bin/9091 Submitted By: Heikki Suonsivu <hsu@clinet.fi> No Response From: -current mailing list
This commit is contained in:
parent
73e4a133ff
commit
a81a07d54f
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# @(#)security 5.3 (Berkeley) 5/28/91
|
# @(#)security 5.3 (Berkeley) 5/28/91
|
||||||
# $Id: security,v 1.26 1998/08/11 08:48:54 des Exp $
|
# $Id: security,v 1.27 1998/08/16 10:38:02 des Exp $
|
||||||
#
|
#
|
||||||
PATH=/sbin:/bin:/usr/bin
|
PATH=/sbin:/bin:/usr/bin
|
||||||
LC_ALL=C; export LC_ALL
|
LC_ALL=C; export LC_ALL
|
||||||
@ -11,7 +11,7 @@ separator () {
|
|||||||
echo ""
|
echo ""
|
||||||
}
|
}
|
||||||
|
|
||||||
host=`hostname -s`
|
host=`hostname`
|
||||||
echo "Subject: $host security check output"
|
echo "Subject: $host security check output"
|
||||||
|
|
||||||
LOG=/var/log
|
LOG=/var/log
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: periodic.sh,v 1.5 1997/08/19 16:49:35 pst Exp $
|
# $Id: periodic.sh,v 1.6 1998/12/29 22:48:54 hoek Exp $
|
||||||
#
|
#
|
||||||
# Run nightly periodic scripts
|
# Run nightly periodic scripts
|
||||||
#
|
#
|
||||||
@ -48,7 +48,7 @@ else
|
|||||||
dirlist="$*"
|
dirlist="$*"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
host=`hostname -s`
|
host=`hostname`
|
||||||
echo "Subject: $host $run run output"
|
echo "Subject: $host $run run output"
|
||||||
|
|
||||||
# Execute each executable file in the directory list. If the x bit is not
|
# Execute each executable file in the directory list. If the x bit is not
|
||||||
|
Loading…
Reference in New Issue
Block a user