Date: Sun, 11 Apr 2010 12:02:13 +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: <201004111202.o3BC2Trt027298@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2010-04-11 12:02:13 UTC
FreeBSD src repository
Modified files:
usr.sbin/lastlogin lastlogin.8 lastlogin.c
Log:
SVN rev 206471 on 2010-04-11 12:02:13Z by ed
Alphabetically sort the output of lastlogin(8).
According to the manpage, the entries have to be sorted by uid. This is
no longer possible, since our utmpx implementation is completely unaware
of user IDs. You can safely add entries for multiple users sharing the
same uid.
Make the output less random by sorting everything by name.
Revision Changes Path
1.6 +1 -1 src/usr.sbin/lastlogin/lastlogin.8
1.15 +21 -3 src/usr.sbin/lastlogin/lastlogin.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004111202.o3BC2Trt027298>
