diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1993-08-07 09:58:37 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1993-08-07 09:58:37 +0000 |
commit | 47d084c2899d314b350f53030da67a4bd3e655f8 (patch) | |
tree | 47762168b68c3a0d9d3d05763c1b9df1b563accf | |
parent | 36f6a3996fb7e381ca5f2cc2b044ef1732dc739b (diff) | |
download | FreeBSD-src-47d084c2899d314b350f53030da67a4bd3e655f8.zip FreeBSD-src-47d084c2899d314b350f53030da67a4bd3e655f8.tar.gz |
Fixed daily so that it no longer does accounting since FreeBSD does not
yet have the accounting stuff in it. Disabled ncheck search in security
due to missing ncheck.
-rw-r--r-- | etc/daily | 14 | ||||
-rw-r--r-- | etc/security | 2 |
2 files changed, 9 insertions, 7 deletions
@@ -50,13 +50,13 @@ if [ -f /etc/news.expire ]; then /etc/news.expire fi -echo "" -echo "Purging accounting records:" -mv /var/account/acct.2 /var/account/acct.3 -mv /var/account/acct.1 /var/account/acct.2 -mv /var/account/acct.0 /var/account/acct.1 -cp /var/account/acct /var/account/acct.0 -sa -s > /dev/null +#echo "" +#echo "Purging accounting records:" +#mv /var/account/acct.2 /var/account/acct.3 +#mv /var/account/acct.1 /var/account/acct.2 +#mv /var/account/acct.0 /var/account/acct.1 +#cp /var/account/acct /var/account/acct.0 +#sa -s > /dev/null echo "" echo "Backup passwd and group files:" diff --git a/etc/security b/etc/security index de01e45..388f4a4 100644 --- a/etc/security +++ b/etc/security @@ -10,6 +10,7 @@ echo "Subject: $host security check output" LOG=/var/log TMP=/tmp/_secure.$$ +if false; then echo "checking setuid files and devices:" MP=`mount -t ufs | sed 's;/dev/;&r;' | awk '{ print $1 " " $3 }'` set $MP @@ -29,6 +30,7 @@ if cmp $LOG/setuid.today $TMP >/dev/null; then :; else mv $TMP $LOG/setuid.today fi rm -f $TMP +fi echo "" echo "" |