projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_3_Reno release
[unix-history]
/
usr
/
src
/
etc
/
daily
diff --git
a/usr/src/etc/daily
b/usr/src/etc/daily
index
8faea3c
..
79fb5f8
100644
(file)
--- a/
usr/src/etc/daily
+++ b/
usr/src/etc/daily
@@
-1,6
+1,6
@@
#!/bin/sh -
#
#!/bin/sh -
#
-# @(#)daily 5.
8 (Berkeley) %G%
+# @(#)daily 5.
10 (Berkeley) 7/1/90
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
host=`hostname -s`
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local
host=`hostname -s`
@@
-38,7
+38,8
@@
if [ -d /var/rwho ] ; then
fi
cd /tmp
fi
cd /tmp
-find / \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core \
+find / ! -fstype local -a -prune -o \
+ \( -name '[#,]*' -o -name '.#*' -o -name a.out -o -name core \
-o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
-a -atime +3 -exec rm -f {} \;
msgs -c
-o -name '*.CKP' -o -name '.emacs_[0-9]*' \) \
-a -atime +3 -exec rm -f {} \;
msgs -c
@@
-140,3
+141,5
@@
if [ -f /etc/Distfile ]; then
echo "Running rdist:"
rdist -f /etc/Distfile
fi
echo "Running rdist:"
rdist -f /etc/Distfile
fi
+
+sh /etc/security | mail -s "daily insecurity output" root