From 7278d118412cedc806ca368a8f6eef2b7c91f941 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 5 Jan 2022 18:34:23 +0000 Subject: [PATCH] increase lifetime of wtmp, since it is annoyingly short discussed with millert --- etc/newsyslog.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index 18509f74256..e496ab998bc 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -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" -- 2.20.1