Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/lastlogin PR/28904: Kimmo Suominen: Fix documentati...
details: https://anonhg.NetBSD.org/src/rev/333734ad6af8
branches: trunk
changeset: 574555:333734ad6af8
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 04 16:06:26 2005 +0000
description:
PR/28904: Kimmo Suominen: Fix documentation deficiencies with respect to
lastlogx use.
diffstat:
usr.sbin/lastlogin/lastlogin.8 | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diffs (46 lines):
diff -r 19e42334b94e -r 333734ad6af8 usr.sbin/lastlogin/lastlogin.8
--- a/usr.sbin/lastlogin/lastlogin.8 Fri Mar 04 16:04:58 2005 +0000
+++ b/usr.sbin/lastlogin/lastlogin.8 Fri Mar 04 16:06:26 2005 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lastlogin.8,v 1.9 2004/11/12 02:39:21 wiz Exp $
+.\" $NetBSD: lastlogin.8,v 1.10 2005/03/04 16:06:26 christos Exp $
.\"
.\" Copyright (c) 1996 John M. Vinopal
.\" All rights reserved.
@@ -30,7 +30,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd November 11, 2004
+.Dd March 4, 2005
.Dt LASTLOGIN 8
.Os
.Sh NAME
@@ -100,10 +100,25 @@
Sort by last login time (most recent first.)
.El
.Sh FILES
-.Bl -tag -width /var/log/lastlog -compact
+.Bl -tag -width /var/log/lastlogx -compact
+.It Pa /var/log/lastlogx
+default last login database
.It Pa /var/log/lastlog
-last login database
+compatibility last login database
.El
+.Sh EXAMPLES
+.Nm
+looks by default to the
+.Pa /var/log/lastlogx
+database, where some old programs that are not
+.Xr utmpx 5
+aware might only write to
+.Pa /var/log/lastlog .
+To look at the old database one can use:
+.Pp
+.nf
+ lastlogin -f /var/log/lastlog
+.fi
.Sh SEE ALSO
.Xr last 1 ,
.Xr lastlog 5 ,
Home |
Main Index |
Thread Index |
Old Index