summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ac
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2005-11-17 14:42:06 +0000
committerjmc <jmc@openbsd.org>2005-11-17 14:42:06 +0000
commitfdd89a802a25e3c1ba79442c73350ec8f6f5805e (patch)
treea39d6d309f806f0fe553e1437ad2037f6c433330 /usr.sbin/ac
parentneed to escape `-' to produce an en-dash; (diff)
downloadwireguard-openbsd-fdd89a802a25e3c1ba79442c73350ec8f6f5805e.tar.xz
wireguard-openbsd-fdd89a802a25e3c1ba79442c73350ec8f6f5805e.zip
restructure the wtmp/newsyslog blurb slightly, to make this read better;
Diffstat (limited to 'usr.sbin/ac')
-rw-r--r--usr.sbin/ac/ac.823
1 files changed, 11 insertions, 12 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8
index 2f57d49a33e..f4ef227b150 100644
--- a/usr.sbin/ac/ac.8
+++ b/usr.sbin/ac/ac.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ac.8,v 1.13 2005/11/16 12:35:44 jmc Exp $
+.\" $OpenBSD: ac.8,v 1.14 2005/11/17 14:42:06 jmc Exp $
.\"
.\" Copyright (c) 1994 Simon J. Gerraty
.\" Copyright (c) 1994 Christopher G. Demetriou
@@ -113,25 +113,24 @@ to run in sync with the rotation of
.Xr newsyslog 8
will have to be altered to run
just after
-.Xr weekly 8
+.Nm
completes.
-A suggested amendment to
-.Pa /etc/newsyslog
-is as follows:
+A suggested procedure is to
+uncomment the
+.Nm
+entry provided in
+.Xr weekly 8
+and make the following amendment to
+.Pa /etc/newsyslog :
.Bd -literal -offset 3n
/var/log/wtmp 644 7 * $W6D4 ZB
.Ed
.Pp
-This will truncate the log file just after
+This will provide weekly mail reports on user accounting information,
+truncating the log file just after
.Xr weekly 8
is run from root's
.Xr crontab 5 .
-For weekly mail reports on user accounting information,
-uncomment the
-.Nm
-entry provided in
-.Xr weekly 8
-as well as making the change suggested above.
.Pp
No login or connect time accounting is performed if
.Pa /var/log/wtmp