summaryrefslogtreecommitdiffstats
path: root/etc/periodic
Commit message (Collapse)AuthorAgeFilesLines
* Install scripts via FILES (purposedly not via SCRIPTS that wouldru2002-07-185-8/+5
| | | | strip the suffixes).
* s/${INSTALL} -c/${INSTALL} ${COPY}/ru2002-07-181-1/+1
|
* Mention that we're checking kernel log messages, even if there'sbrian2002-06-281-2/+2
| | | | | | | no output. PR: 39618 MFC after: 1 week
* Temporarily change our umask to 066 so that the potential creationbrian2002-05-171-0/+3
| | | | | | | | | | of wtmp.0 is done as mode 600. This ensures that tight permissions set in /etc/newsyslog.conf for wtmp logging aren't ``betrayed''. Suggested by: lumpy <lumpy@the.whole.net> MFC after: 3 days
* Change ``dmesg -a'' to ``dmesg''.brian2002-05-171-1/+1
| | | | | | | | | | | The change was introduced in src/etc/security 1.53 almost a year ago in an attempt to see ipfw deny message logs. However, ipfw deny/reject logs have been displayed since version 1.13 of the same file as a separate ``job'' and have since moved to src/etc/periodic/security/500.ipfwdenied. MFC after: 3 days
* Tighten up temporary file permissions and move them to ${TMPDIR:-/tmp}brian2002-05-177-7/+7
| | | | | Problem reported by: lumpy <lumpy@the.whole.net> MFC after: 3 days
* Return 3 unless $daily_status_security_enable != YES.brian2002-05-171-1/+1
| | | | | | Returning $? masks security output when ``periodic security'' is successful ! MFC after: 3 days
* Fix the output when daily_status_mailq_shorten is set to YESbrian2002-05-071-4/+4
| | | | | | PR: 23766 Mostly submitted by: lambert@ssabsd.csw.net MFC after: 3 days
* Remove leading whitespace from the setuid file lists.cjc2002-05-051-2/+2
| | | | | | | | | | | | | | Due to the way we run ls(1), through xargs(1), the leading whitespace can change even when the setuid files haven't. To avoid displaying these lines, we currently run diff(1) with the '-w' option. However, this is probably not the ideal way to go; there is a very, very small possibility for diff(1) to miss things is shouldn't. So, with the leading space cleaned, we can revert to the '-b' option which is "safer." PR: conf/37618 Reviewed by: brian MFC after: 3 days
* Handle .bz2 files created by newsyslogbrian2002-04-302-0/+7
| | | | | | PR: 37529 Partially submitted by: Peter Hollaubek <fifteen@inext.hu> MFC after: 1 week
* Update mail queue related periodic scripts to account for sendmail 8.12'sgshapiro2002-04-102-11/+30
| | | | | | | | | | | | | | | | | | | | clientmqueue (submit mail queue). The new mailq display is only active if both the old daily_status_mailq_enable is set to "YES" and the new daily_status_include_submit_mailq is set to "YES" so people who disabled 440.status-mailq won't have any surprises. Likewise, the new queue run is only active if both the old daily_queuerun_enable is set to "YES" and the new daily_submit_queuerun is set to "YES" so people who disabled 500.queuerun won't have any surprises. While I am here, remove the [ ! -d /var/spool/mqueue ] checks from both scripts as the queue directory isn't always /var/spool/mqueue for the main daemon -- it can be set to anything in the sendmail.cf file. MFC after: 1 week
* No need to explicitly check for both cases when using grep -i.rwatson2002-03-121-1/+1
|
* Update login failure checking to check auth.log instead of messages,rwatson2002-03-111-3/+3
| | | | | | and teach it to look for more general classes of failures, including SSH login failures. This is similar but not identical to a patch submitted by aeonflux@synapse.subneural.net.
* Environmental variable was not being passed to a subshell as intended.cjc2002-03-051-2/+2
| | | | | PR: bin/35558 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Set rc=1 rather than 0 so that setting daily_show_success=YES masksbrian2002-02-131-1/+1
| | | | | | | | the output of all goes well. PR: 34825 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC after: 3 weeks
* Fix a stray character that found its way into a filename.cjc2001-12-141-1/+1
|
* Work around the bugfeature of test(1).ru2001-12-142-2/+2
| | | | PR: bin/32822
* Long ago, there was just /etc/daily. Then /etc/security was split outcjc2001-12-0714-19/+726
| | | | | | | | | | of /etc/daily. Some time later, /etc/daily became a set of periodic(8) scripts. Now, this evolution continues, and /etc/security has been broken into periodic(8) scripts to make local customization easier and more maintainable. Reviewed by: ru Approved by: ru
* Make sure the security check output includes a To: line in thesilby2001-11-281-1/+1
| | | | same way the daily run output does.
* Handle wtmp.0 being compressedbrian2001-11-201-5/+16
| | | | | | PR: 32113 Submitted by: Yar Tikhiy <yar@comp.chem.msu.su> MFC after: 1 week
* After further discussion on -CURRENT, some people (jhb) do not likecjc2001-11-141-2/+2
| | | | | | | | | the idea of not masking passwords on comments in case the administrator comments out an entry without clearing the password. Instead completely ignore comments (since they have no security impact) when doing the diff of the old and new passwd file. Suggested by: rwatson
* No need to hide stuff in the $FreeBSD$ tag or in other comments like,cjc2001-11-111-1/+1
| | | | | | | | | | Backup passwd and group files: 1c1 < # $FreeBSD:(password):09:07 peter Exp $ --- > # $FreeBSD:(password):27:16 ache Exp $ MFC after: 1 week
* UUCP removal Phase III.kris2001-10-015-120/+0
|
* Run the uustat command as the uucp user, not as root.kris2001-09-091-1/+1
|
* Remove $daily_status_named_logs and figure out which /var/log/messages*brian2001-07-261-46/+33
| | | | | | | | files to look an (in the same way that /etc/security does). Don't single-quote $start, reducing it to an empty string. MFC after: 3 days
* Don't try to remove directories unless we've emptied them firstbrian2001-07-191-1/+1
| | | | | | Submitted by: NIIMI Satoshi <sa2c@and.or.jp> PR: 28355 MFC after: 1 week
* Recognize and support new output which pkg_version(1) might produce.tobez2001-06-111-1/+2
| | | | | PR: 27707 Approved by: bmah, markm
* Small adjustment to whitespace in outputdougb2001-06-013-3/+3
|
* Remove vestiges of MFS.ru2001-06-011-5/+0
|
* Truly limit the path to local filesystems.dougb2001-05-311-2/+4
|
* Default daily_accounting_flags to -q. I thought this was a typo in thebrian2001-05-301-0/+5
| | | | | | | | originally submitted patch (oops!). Also check for an empty $daily_accounting_save. Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de>
* Add $daily_accounting_save and $daily_accounting_flagsbrian2001-05-301-9/+13
| | | | | Submitted by: Udo Schweigert <Udo.Schweigert@cert.siemens.de> MFC after: 2 weeks
* Add 470.status-named.dirk2001-05-111-0/+1
| | | | Reminded by: gshapiro
* Remind the user that they need to check CPAN manually for updatesjoe2001-04-281-0/+1
| | | | to perl5 modules installed by hand.
* Fixed typo.ru2001-04-251-1/+1
| | | | | PR: bin/26836 Submitted by: Matthew Seaman <matthew.seaman@tornadogroup.com>
* Check for denied zone transfers (AXFR and IXFR).dirk2001-04-211-0/+71
|
* Identify obsolete portsbrian2001-03-251-1/+2
|
* setlocale(3) has been fixed to match POSIX standard:ru2001-03-022-2/+2
| | | | LC_ALL takes precedence over other LC_* envariables.
* Add 500.queuerunache2001-02-191-0/+1
|
* Move the sendmail -q from cron to periodic, as suggested by a few people.peter2001-02-191-0/+34
| | | | | This has the benefit of adding a random start time element as daily processing takes a different amount of time on different machines.
* Allow the output of /etc/security to be logged or mailed to differentbrian2001-01-301-5/+12
| | | | | | | users in line with ${daily,weekly,monthly}_output using a new $daily_status_security_output variable. PR: 24643
* Cope with ports that have multiple versions *and* have embedded ``-''sbrian2001-01-021-1/+1
| | | | in their name.
* Understand ``multiple versions'' lines emitted from pkg_version.brian2001-01-021-1/+3
|
* Handle multiple words in $daily_clean_disks_filesbrian2000-12-241-3/+5
| | | | | PR: 23805 Submitted mostly by: Norbert Papke <npapke@telus.net>
* Finish the job of conditionalizing UUCP by preventing files in /etc/uucpdougb2000-10-292-3/+7
| | | | | | | | from being installed, and make rmail conditional on neither of NO_SENDMAIL and NOUUCP. PR: bin/21321 Submitted by: Me
* Case is irrelevant when sorting mail redirectsbrian2000-10-021-1/+1
| | | | | PR: 21600 Submitted by: David Wolfskill <dhw@whistle.com>
* Remove a forgotten linebrian2000-09-221-1/+0
| | | | Submitted by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
* Another overhaul of the periodic stuff.brian2000-09-1432-176/+504
| | | | | | | | | | | | | | | All periodic sub-scripts <larf> now have their return codes interpreted by periodic(8). Output may be masked based on variable values in periodic.conf. It's also now possible to email periodic output to arbitrary addresses, or to send it to a log file, examples of which can be found in newsyslog.conf. The upshot of it all should be no discernable changes to the default behaviour of periodic(8). PR: 21250
* Correct variable spellingbrian2000-08-251-1/+1
| | | | PR: 20841
* Complete migration of aliases file to /etc/mail/aliases.gshapiro2000-08-131-5/+5
| | | | | The maintainers of share/examples/diskless/README.TEMPLATING and mergemaster have been contacted so those may be updated as well.
OpenPOWER on IntegriCloud