Commit Graph

48 Commits

Author SHA1 Message Date
sheldonh
b896bc0c05 Introduce a new option, daily_status_disks_df_flags, which specifies
the command-line arguments to be used for the call to df(1) when
daily_status_disks_enable is set to YES.

The name of the new variable was chosen by the maintainer of our
periodic hierarchy, Brian Somers.

PR:		19631
2000-07-05 10:47:01 +00:00
brian
d220ee616b Add $daily_status_mail_rejects_logs, defaulting to 3 to control
how many /var/log/maillog* files to check

PR:	19587
2000-06-30 09:41:16 +00:00
brian
97d1a2bb34 Correct two variable names
Mostly submitted by:	howardjp@wam.umd.edu
PR:			19567
2000-06-30 09:39:51 +00:00
joe
c328bb90a7 Added 400.status-pkg.
Forgotten by:	brian
2000-06-28 14:37:22 +00:00
brian
1400b2309b Add weekly_status_pkg_enable (defaults to NO) 2000-06-27 11:20:08 +00:00
brian
0ef3538e30 Allow compressed acct files
PR:		19483
Submitted by:	Ben Smithurst <ben@scientia.demon.co.uk>
2000-06-25 08:59:26 +00:00
brian
8d5a977e22 daily_status_network_enable -> daily_status_network_usedns
Submitted by: Alexander Leidinger <Alexander@leidinger.net>
2000-06-23 12:33:16 +00:00
brian
567e3fdcca Introduce /etc/defaults/periodic.conf, similar in concept to rc.conf.
The only change in the default functionality should be that
the output reports are slightly more verbose WRT files deleted.

Not objected to by: freebsd-arch
2000-06-23 01:18:31 +00:00
brian
ceb9d96a6e Use $clear_daily_* from rc.conf to decide what should be deleted
Reviewed by:	The silence of -committers
2000-06-09 17:05:11 +00:00
brian
85c7b2d731 Clean /tmp and /var/tmp if $clear_tmp_enable is set to YES in rc.conf
Clean /compat/linux/tmp if $linux_enable is also set to YES in rc.conf
2000-06-08 08:48:15 +00:00
obrien
1731b249cc Revert to rev 1.3 since the sed'ing is wrong. Revisit this after 4.0-RELEASE. 2000-01-27 22:52:43 +00:00
obrien
fb20480840 Update the sed action to match the change to "diff -u".
Otherwise the encrypted password of any account who's information changed
was shown in the daily email to root.

Submitted by:	jhb
2000-01-20 03:12:57 +00:00
obrien
79ed6d89a6 Use the *much* more readable unified diff format. 1999-12-28 21:38:12 +00:00
ache
a2d665c87a Use manpath -L for man locales 1999-11-23 03:21:19 +00:00
ghelmer
15b0a898a0 "make install" did not install 150.clean-hoststat.
PR:	bin/12497
1999-11-04 03:00:33 +00:00
ache
876db407b1 localize it
Submitted by: "Alexey Zelkin" <phantom@crimea.edu>
1999-09-11 18:55:02 +00:00
peter
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
sheldonh
3d09e3478e Update the locate database even if user nobody can't stat root's
home directory.

PR:	10700
Submitted by:	Sergey Korsak <skif@1plus1.net>
1999-06-21 18:36:18 +00:00
brian
6c60b3cb5f Don't delete quota files when clean-tmps is enabled. 1999-06-10 00:34:15 +00:00
wollman
c3ead1bc25 Remove remaining traces of the prototype... 1999-03-30 15:31:35 +00:00
wollman
4444bea042 Clean up persistent host status from sendmail(8) (if so configured).
I had accumulated years' worth of junk files; now others won't
have to.
1999-03-30 15:30:44 +00:00
joerg
efd64fb913 Finally remove the ancient `-exec rm -f {} ;' cruft that used to be
used to cleanup old files, and replace it by -delete which has been
present in our find(1) for ages now.
1999-03-21 12:34:06 +00:00
wollman
86eed8a334 Now that newsyslog is capable of doing this at a specific time,
let it rotate /var/log/wtmp again, and update monthly/200.accounting to
take this into account.  (Some sites might want to change the parameters
of the rotation; it's easier to do this when it's all centralized in
newsyslog.conf.)
1999-01-28 20:03:31 +00:00
billf
7368cdd0db UUCP Cleanup should be done by the UUCP user.
PR:		bin/7749
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-01-01 21:07:39 +00:00
joerg
576997d4f6 Avoid the ``ruptime: no hosts in /var/rwho.'' message by not calling
rwho iff /var/rwho is empty.  Call `uptime' instead.  This doesn't
belong under `network' right away, but at least reports the same
informaton about the local system.  rwhod is not turned on by default
(for good reason), and i've already seen too many of the above
messages...
1998-10-06 09:46:46 +00:00
obrien
18dba2fe21 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:06 +00:00
bde
1f215376b1 Fixed double slashes in a pathname.
Fixed some style bugs.  Ensure no creation of an obj directory so that
we don't need to chdir before installing.
1998-05-31 11:38:25 +00:00
des
5c3662c36d Add a chkgrp run after backing up the passwd and group files.
Suggested-by: Andreas Klemm
1998-05-24 15:57:31 +00:00
des
5558637778 Changed /usr/sbin/mailq to /usr/bin/mailq 1998-04-17 22:53:59 +00:00
danny
0bab56da41 PR: 1708, 5448
Reviewed by:	Alex Nash, Steve Price
Enhance wtmp monthly handling
1998-02-09 11:36:43 +00:00
wosch
d0bf9a43f4 Count _all_ rejects, not made by check_mail and check_relay only.
There can be private rules which produce rejects.
Pointed out by: áÎÄÒÅÊ þÅÒÎÏ×
1998-02-09 11:28:59 +00:00
wosch
291ce3bfba Count hosts and sort by score. 1998-02-05 15:38:17 +00:00
wosch
0729b6bb89 Replace sed(1) with perl(1). The 4.4BSD sed programm is
200 times slower than perl or SunOS 5.5.1 sed.
1998-02-05 15:33:54 +00:00
brian
7af9f5342e Remove ``start='' used when testing :-( 1998-01-26 02:26:29 +00:00
brian
f5c8de67c0 Just list one of each domain that was rejected
(although only by Scheck_relay or Scheck_mail).
Suggested by: ache
1998-01-23 01:58:18 +00:00
wosch
3ef8b0b8d7 Add an example for busy mail servers, commented out. 1998-01-18 22:28:06 +00:00
ache
473242b8c3 Do not run by default. Can grow your root mailbox up to 2Mb per day
since SPAMmers like to retry often
1998-01-18 12:06:40 +00:00
steve
bf1b24637d Use manpath(1) to determine the value of ${MANPATH} instead of
using one of two hard-coded values.

PR:		5365
Submitted by:	Ruslan Shevchenko <rssh@cam.grad.kiev.ua>
1998-01-09 23:56:45 +00:00
bde
8cf5931511 Don't test for executability of /usr/sbin/sysctl [before execing
plain sysctl].  We already assumed that many standard commands
exist, and sysctl is not special.
1998-01-01 09:04:47 +00:00
brian
9475f7b51a Check for rejected mail
Not commented on by: freebsd-hackers
1997-11-22 04:02:51 +00:00
wosch
3c4c203704 Check for files belongs to an unknown user or unknown group.
Do not run by default.
1997-11-01 15:03:05 +00:00
wosch
883fab98f1 Delete unused code. 1997-11-01 15:00:40 +00:00
ache
ce64e4e169 Fix typo in my prev. commit 1997-09-11 15:21:30 +00:00
ache
a5d0d0dc36 Do not remove /var/tmp/vi.recover 1997-09-01 11:07:55 +00:00
pst
0b901e2d64 Remove 100.clean-src 1997-08-18 16:49:40 +00:00
pst
68eaf42a45 Cosmetic changes.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-08-17 17:55:45 +00:00
pst
738fa2d3d2 This was disabled, but it doesn't even make sense to leave it in as
an example, it's totally bogus.
1997-08-17 17:54:41 +00:00
pst
1d67bc6abb Copy /etc/cron.d to /etc/periodic per-request of many.
This wasn't done with a repository copy because there was no
history of any consequence.  Flames to me.
1997-08-16 17:04:02 +00:00