display complete host name
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 9 Jan 1992 23:58:55 +0000 (15:58 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Thu, 9 Jan 1992 23:58:55 +0000 (15:58 -0800)
SCCS-vsn: etc/daily 5.16
SCCS-vsn: etc/monthly 5.7
SCCS-vsn: etc/security 5.5
SCCS-vsn: etc/weekly 5.17

usr/src/etc/daily
usr/src/etc/monthly
usr/src/etc/security
usr/src/etc/weekly

index a20e6de..672c9a5 100644 (file)
@@ -1,9 +1,9 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)daily       5.15 (Berkeley) %G%
+#      @(#)daily       5.16 (Berkeley) %G%
 #
 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
 #
 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
-host=`hostname -s`
+host=`hostname`
 echo "Subject: $host daily run output"
 bak=/var/backups
 
 echo "Subject: $host daily run output"
 bak=/var/backups
 
index e76d7aa..a872249 100644 (file)
@@ -1,9 +1,9 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)monthly     5.6 (Berkeley) %G%
+#      @(#)monthly     5.7 (Berkeley) %G%
 #
 
 #
 
-host=`hostname -s`
+host=`hostname`
 echo "Subject: $host monthly run output"
 
 # echo ""
 echo "Subject: $host monthly run output"
 
 # echo ""
index ff7c062..de1df26 100644 (file)
@@ -1,15 +1,16 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)security    5.4 (Berkeley) %G%
+#      @(#)security    5.5 (Berkeley) %G%
 #
 PATH=/sbin:/bin:/usr/bin
 
 #
 PATH=/sbin:/bin:/usr/bin
 
-host=`hostname -s`
+host=`hostname`
 echo "Subject: $host security check output"
 
 LOG=/var/log
 TMP=/tmp/_secure.$$
 
 echo "Subject: $host security check output"
 
 LOG=/var/log
 TMP=/tmp/_secure.$$
 
+echo ""
 echo "Checking setuid files and devices:"
 find / \( ! -fstype local \) -a -prune -o \
        \( -perm -u+s -o -perm -g+s -o ! -type f -a ! -type d \) \
 echo "Checking setuid files and devices:"
 find / \( ! -fstype local \) -a -prune -o \
        \( -perm -u+s -o -perm -g+s -o ! -type f -a ! -type d \) \
index b5e633d..dc12016 100644 (file)
@@ -1,12 +1,12 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)weekly      5.16 (Berkeley) %G%
+#      @(#)weekly      5.17 (Berkeley) %G%
 #
 
 PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
 export PATH
 
 #
 
 PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
 export PATH
 
-host=`hostname -s`
+host=`hostname`
 echo "Subject: $host weekly run output"
 
 #echo ""
 echo "Subject: $host weekly run output"
 
 #echo ""