jmc
c5f398ceac
remove check for /etc/news.expire;
ok millert@
21 years ago
avsm
ef01e76670
some more extra mktemp randomness; millert@ ok
21 years ago
mickey
06f0e69e20
by means of utilising -f avoid some warnings when rotating accounting files; millert@ ok
21 years ago
jmc
9c9982ecc9
- no more /var/ssyslog (unused)
- no more /var/spool/lpd (lpd uses /var/spool/output)
- no more /var/preserve (old vi directory)
- update docs to reflect this
help with systrace provos@
help and ok millert@
22 years ago
pvalchev
7eb0a44bce
When creating > 1 files with mktemp(1), make sure that if the creation
of the n'th (n>1) file fails, the previous ones get removed before exit(1)
Idea by jason; ok millert deraadt
22 years ago
millert
27938991c6
Use `hostname` not `hostname -s` in subject for consistency with
daily, weekly, and monthly. Closes PR 3017.
22 years ago
danh
2bb98291da
have df only display statistics about local filesystems (-l flag)
ok millert@
22 years ago
deraadt
d8ad086ce4
zap trailing spaces and tabs
23 years ago
millert
94110695a6
Change when calendar(1) is such so that it is after mailq runs.
That way we avoid a flurry of transient calendar mail in the mailq.
23 years ago
espie
9384ec405c
Be anal about ssh and X11 hooks.
23 years ago
deraadt
cefcd164b2
the first part of uucp going away. It will become a package
23 years ago
niklas
d83299bfc4
Add -n to the netstat invocation. Faster running, less chance of being spoofed, no unneeded dial-on-demands
24 years ago
angelos
65a3864266
Correctly check empty mailq, closes PR 1602 (cjclark@alum.mit.edu)
24 years ago
marc
202ca5cf81
pipe output from /etc/security to a temp file and then check that
24 years ago
aaron
7fb2a3f447
Conform to the test(1) man page: use -L instead of -h when testing for
symbolic links (the -h flag is for compatibility only); millert@ ok
24 years ago
millert
4162a5f0f0
Prune /tmp traversal at .X11-unix
Since /tmp might be a link to /var/tmp, prune at ssh-* or .X11-unix
like the find on /tmp does.
25 years ago
itojun
2ad1363310
use netstat -iv, not -i, to avoid truncation of ipv6 address. ok by deraadt
25 years ago
todd
bc27b3b955
fix per pr1192; also == "xx" -> ~ /xx/, same thought
25 years ago
deraadt
42c3846e4f
run pruning find with -x, to avoid /tmp based mountpoint pruning
26 years ago
deraadt
bf5f67be75
no need for Subject: line, crontab does it
26 years ago
downsj
444833e1f4
Only run msgs -c if /var/msgs exists and is not a symlink.
26 years ago
millert
34b5a6ea60
Don't prune dirs in /var/tmp on first pass; problem noted by m4@umn.edu
26 years ago
deraadt
109f02d2ff
do not delete files like that, geez
26 years ago
millert
9a58a2fd16
Don't remove files in /tmp/ssh-*
27 years ago
mickey
337266a573
fix root backup
27 years ago
deraadt
125803585e
indent
27 years ago
pierre
7c7a16dee0
run calendar in the background
27 years ago
deraadt
43ff156daa
1 fix from enami@ba2.so-net.or.jp
27 years ago
millert
ad8ea0fcfd
Add option to turn off calendar via env variables settable via cron.
Ie: ``CALENDAR=0'' will turn it off which is useful for machines with
no local users that do not run YP.
28 years ago
millert
cd4087f2b4
lite2 daily + our changes. We can remove old tmp files now that fts(3)
is safe and we have -execdir.
28 years ago
millert
0f61e5a377
No point in ls'ing the template, it will never exist.
28 years ago
millert
5891475391
Less output when not needed.
28 years ago
millert
9097cb608e
use mktemp(1) and don't talk about core files unless it finds some.
28 years ago
bitblt
202165532c
Improved handling of temporary files.
28 years ago
deraadt
6d390ec22c
indicate hostname in security report
28 years ago
deraadt
c3710f5d47
indent
28 years ago
deraadt
c193bcf0e6
only run calendar on yp server; from matthieu@laas.fr
28 years ago
downsj
a1af6f8f53
slight clarification.
28 years ago
downsj
28068e32e7
daily: disable the fscks by default.
rc: add /usr/local/lib to ldconfig.
28 years ago
deraadt
51f2b1a3c2
still print about ugly files; from Todd.Miller@cs.colorado.edu
28 years ago
deraadt
ea615d0aeb
whoops
28 years ago
deraadt
1cb6271946
disable find | rm entities until we have a safe way of doing them
28 years ago
deraadt
c8a37c7003
sync & label
29 years ago
deraadt
a89aeed92c
sync with netbsd 960418
29 years ago
david
68794b5596
check for /etc/{daily,weekly,monthly}.local and run if they exist
29 years ago
deraadt
47b73ff83c
initial import of NetBSD tree
29 years ago