summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-11-12 16:21:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-11-12 16:21:19 +0000
commite87ea93520fa0802b26b3d90fe0e4beb9a3766fa (patch)
tree541f1d24d78afd2eeb7b017c307d869c4885080e
parenta2b669e9077720e9bf0db5f7629480ef9072b87e (diff)
clarify how wtmp is rotated, since it was rather misleading;
-rw-r--r--usr.sbin/ac/ac.813
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.sbin/ac/ac.8 b/usr.sbin/ac/ac.8
index b2ae8cd04e5..57f5a0f5d24 100644
--- a/usr.sbin/ac/ac.8
+++ b/usr.sbin/ac/ac.8
@@ -1,3 +1,5 @@
+.\" $OpenBSD: ac.8,v 1.12 2005/11/12 16:21:18 jmc Exp $
+.\"
.\" Copyright (c) 1994 Simon J. Gerraty
.\" Copyright (c) 1994 Christopher G. Demetriou
.\" All rights reserved.
@@ -27,8 +29,6 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: ac.8,v 1.11 2003/03/18 08:37:34 jmc Exp $
-.\"
.Dd March 15, 1994
.Dt AC 8
.Os
@@ -101,10 +101,11 @@ accounts with login sessions recorded in
The default
.Pa wtmp
file will increase without bound unless it is truncated.
-It is normally truncated by the daily scripts run
-by
+It is normally truncated by
+.Xr newsyslog 8 ,
+run by
.Xr cron 8 ,
-which rename and rotate the
+which renames and rotates the
.Pa wtmp
files, keeping a week's worth of data on
hand.
@@ -136,7 +137,9 @@ rotated files
.Sh SEE ALSO
.Xr login 1 ,
.Xr utmp 5 ,
+.Xr cron 8 ,
.Xr init 8 ,
+.Xr newsyslog 8 ,
.Xr sa 8
.Sh HISTORY
An