Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2011 18:40:01 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/lastlogin lastlogin.8 lastlogin.c
Message-ID:  <201106061840.p56IeX1i008023@repoman.freebsd.org>

index | next in thread | raw e-mail

ed          2011-06-06 18:40:01 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/lastlogin   lastlogin.8 lastlogin.c 
  Log:
  SVN rev 222767 on 2011-06-06 18:40:01Z by ed
  
  Allow custom files to be opened and allow sorting by timestamp.
  
  While implementing a tool to import lastlog entries into utmpx, I
  noticed lastlogin doesn't allow custom database files to be opened. Add
  a -f switch to support this. Also, add -r and -t similar to ls(1),
  ruptime(1), etc. where you can sort entries by timestamp and reverse
  them. This allows you to spot active/idle users more easily.
  
  Revision  Changes    Path
  1.7       +17 -3     src/usr.sbin/lastlogin/lastlogin.8
  1.17      +43 -15    src/usr.sbin/lastlogin/lastlogin.c


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106061840.p56IeX1i008023>