summaryrefslogtreecommitdiffstats
path: root/etc/syslog.conf
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1994-01-22 20:44:14 +0000
committerguido <guido@FreeBSD.org>1994-01-22 20:44:14 +0000
commit8a995caf00125938bd99b949972f3a7755cc9058 (patch)
treedcdc5ded7e2d1e62b37f54d05916841e756005f1 /etc/syslog.conf
parentc22738015b870280d37845a904c4183f27ff6d2d (diff)
downloadFreeBSD-src-8a995caf00125938bd99b949972f3a7755cc9058.zip
FreeBSD-src-8a995caf00125938bd99b949972f3a7755cc9058.tar.gz
This is Vixie cron 3.0. This version fixes all known security bugs.
Further it implements crontab -e. I moved cron from /usr/libexec to /usr/sbin where most daemons are that are run from rc. That also gets rid of the ugly path crond used to have in ps(1) outputs. Further I renamed it to cron, as Paul Vixie likes it and is done by NetBSD. NOTE VERY WELL THE FOLLOWING: 1) Systems crontab changed. Every users crontab resides in /var/cron *EXCEPT* root's. This is a special crontab as it resides in /etc. Further it is the *ONLY* crontab file in which you specify usernames. See /usr/src/etc/crontab. This is also done by BSDI's BSD/386 as far as I know (they provided the patches for it anyway) 2) So you *must* delete root's crontab and reinstall the copy in /etc from /usr/src/etc. 'Must' is to much: the old installed crontab will work but cron will also try to 'run' /etc/crontab. 3) Last but not least: cron's logging is now done via syslog. Note that logging by cron is done lowercase when it logs about itsself and uppercase when it logs user events, like installing a new crontab. The default logfile file is the same as before: syslog.conf:cron.* /var/cron/log -Guido
Diffstat (limited to 'etc/syslog.conf')
-rw-r--r--etc/syslog.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf
index 56f1576..73d56b7 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -2,6 +2,7 @@
*.notice;kern.debug;lpr,auth.info;mail.crit /var/log/messages
mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
+cron.* /var/cron/log
*.err root
*.notice;auth.debug root
*.alert root
OpenPOWER on IntegriCloud