lastlog command?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Sun Mar 18 19:21:00 GMT 2007


Dan Harkless wrote:
> Howdy.  It seems strange that on Cygwin, the /var/log/lastlog file is
> maintained (at least by openssh -- not sure if other types of logins go
> there), yet there's no 'lastlog' command.  I understand that openssh uses it
> to let you know when your last login was (once you've logged in), but it
> would be nice to be able to use it to verify that certain accounts have
> never logged in, without having to create passwords for them and ssh into
> them.
> 
> Now that I've discovered this (and discovered the non-obvious ability to
> search for pathnames like bin/last at <http://cygwin.com/packages/> -- it
> would be nice if there were a little "Help" link by the "Search Package
> List" box letting people know how the search works -- also I would change
> the lefthand side link "Setup Package Search" to just "Package Search"),
> I've installed the sysvinit package so I can use the 'last' command, but of
> course that won't allow me to access the historical data in
> /var/log/lastlog.
> 
> Are there any plans to port the lastlog command to Cygwin?  It would seem
> like it ought to be a pretty straightforward one.


Packages (with particular utilities) are contributed by volunteers.  See
<http://cygwin.com/contrib.html> for information on how to contribute a
package to Cygwin.  If you're interested, this is the best way to get a
particular package into Cygwin's distribution.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list