increase lifetime of wtmp, since it is annoyingly short
authorderaadt <deraadt@openbsd.org>
Wed, 5 Jan 2022 18:34:23 +0000 (18:34 +0000)
committerderaadt <deraadt@openbsd.org>
Wed, 5 Jan 2022 18:34:23 +0000 (18:34 +0000)
discussed with millert

etc/newsyslog.conf

index 18509f7..e496ab9 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: newsyslog.conf,v 1.37 2021/12/08 20:18:43 martijn Exp $
+#      $OpenBSD: newsyslog.conf,v 1.38 2022/01/05 18:34:23 deraadt Exp $
 #
 # configuration file for newsyslog
 #
@@ -10,7 +10,7 @@
 /var/log/maillog                       640  7     *    24    Z
 /var/log/messages                      644  5     300  *     Z
 /var/log/secure                                600  7     *    168   Z
-/var/log/wtmp                          644  7     *    $W6D4 B ""
+/var/log/wtmp                          644  7     *    $M1D4 B ""
 /var/log/xferlog                       640  7     250  *     Z
 /var/log/pflog                         600  3     250  *     ZB "pkill -HUP -u root -U root -t - -x pflogd"
 /var/www/logs/access.log               644  4     *    $W0   Z "pkill -USR1 -u root -U root -x httpd"