ajacoutot
024d4091f5
- enable weekly login accounting if LOGINACCOUNTING is set to 1 in the
environment so that it matches the ROOTBACKUP and CHECKFILESYSTEMS way
of doing things
- make the sort command use "-k" instead of the deprecated "+" option
(idea from mk@)
- rotate /var/log/wtmp every week just after weekly ac(8) completes
ok mk@
18 years ago
ajacoutot
a7f30172a7
Force umask to 022 so we don't heritate 077 from root's crontab command
(output logs are still umask 077)
"i think this is right" deraadt@
18 years ago
hugh
d7cf83ec21
Exit when asked to here too. Spotted by Theo.
18 years ago
jmc
4187f7e712
remove unhelpful echo from the ac stuff;
ok millert@
19 years ago
jmc
729ad7eff7
move the ac(8) stuff to weekly, rather than monthly, since by default
newsyslog truncates wtmp on a weekly basis; note that the ac stuff
remains commented out as before;
spotted by andreas bihlmaier;
ok deraadt@
19 years ago
avsm
707c834a5a
spacing nit, and a bit more randomness for mktemp
millert@ ok
21 years ago
millert
642ff1ce89
Use POSIX chown semantics (user:group); noted by Leandro Costa
22 years ago
jakob
ed7cd40416
use /var/tmp as default temporary directory when building locate database. ok millert@
22 years ago
fgsch
6de68c7c16
remove clean.weekly from here. this can be added in weekly.local if
needed and we don't ship it anyway; millert@ ok.
23 years ago
alex
1e415dbcee
Rebuild whatis databases.
25 years ago
mickey
66d44aa844
propagate TMPDIR into locate.updatedb
25 years ago
millert
f1f5eb96c4
No need to put a Subject: line. We use "mail -s" in the crontab anyway.
27 years ago
deraadt
caeef7918f
delete dated stuff
27 years ago
millert
59f88634ac
Use new options to locate.updatedb so we don't have to make the
database owned by non-root at any time.
28 years ago
millert
ea8e82ac11
locate shell scripts now use mktemp(1) and weekly runs updatedb
as bin not nobody to avoid NFS problems.
28 years ago
millert
0fa8ac2d0d
make commented-out stuff secure just in case anyone uncomments it.
28 years ago
deraadt
c8a37c7003
sync & label
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