mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 07:11:05 +01:00
13c032fd0e
an all.log for logging all messages, and one to demonstrate use of loghosts. Also, a matching entry in newsyslog.conf for all.log. Per request of Garrett Wollman, also modified the maillog entry to use the @T newsyslog time specification mechanism. Because newsyslog doesn't support the mod date specification machanism, couldn't change other entries that required more than one execution a month, but less than once a day. Approved by: jkh Reviewed by: freebsd-security
17 lines
651 B
Plaintext
17 lines
651 B
Plaintext
# configuration file for newsyslog
|
|
# $FreeBSD$
|
|
#
|
|
# logfilename [owner:group] mode count size when [ZB] [/pid_file] [sig_num]
|
|
/var/log/cron 600 3 100 * Z
|
|
/var/log/amd.log 664 7 100 * Z
|
|
/var/log/kerberos.log 664 7 100 * Z
|
|
/var/log/lpd-errs 664 7 100 * Z
|
|
/var/log/maillog 664 7 * @T00 Z
|
|
/var/log/sendmail.st 664 10 * 168 B
|
|
/var/log/messages 664 5 100 * Z
|
|
/var/log/all.log 600 7 * @T00 Z
|
|
/var/log/slip.log 600 3 100 * Z
|
|
/var/log/ppp.log 600 3 100 * Z
|
|
/var/log/security 600 10 100 * Z
|
|
/var/log/wtmp 644 3 * @01T05 B
|