X-Spam-Check-By: sourceware.org Message-Id: <200703172358.l2HNwvEn029318@www.harkless.org> To: cygwin AT cygwin DOT com Subject: lastlog command? From: "Dan Harkless" Date: Sat, 17 Mar 2007 16:58:57 -0700 Received-SPF: pass (www.harkless.org: localhost is always allowed.) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-2.0.2 (harkless.org [0.0.0.0]); Sat, 17 Mar 2007 16:58:57 -0700 (PDT) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 -- 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. -- Dan Harkless http://harkless.org/dan/ -- 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/