Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <5.1.0.14.0.20030907142823.0468a3d8@127.0.0.1> X-Sender: Date: Sun, 07 Sep 2003 14:30:47 -0400 To: "Fermin Sanchez" , From: Larry Hall Subject: RE: sshd "PrintLastLog yes" In-Reply-To: <99AE13FA0F1F824AA6D299741FE6C82F8EC6@dcp1.home.fermin.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 05:30 AM 9/7/2003, Fermin Sanchez you wrote: >Hello Corinna > >> > I added/uncommented "PrintLastLog yes" in /etc/sshd_config and >> > restarted >> PrintLastLog defaults to yes so that shouldn't be necessary. > >Yes, I just wanted to be sure. > >> > Any hints where I should start looking (rtfm didn't bring >> > any results, >> > neither did a quick google). >> I'm using 3.6.1p2, too, obviously and I'm getting the last >> log message. >> Any chance you have a problem with /var/log/lastlog? Did you >> delete it after starting sshd? Permissions? > >ls -l /var/log/lastlog shows: >-rw-r--r-- 1 Administ Domain U 0 Sep 6 17:52 lastlog > >I did a chmod 664 on /var/log/lastlog, now it works. Thank you again! >One good side effect: I'm going to put all this information into a "how >to install and run cygwin and sshd on a Windows Server 2003 Domain >Controller" ;-) It would be great to see this as an addition to the Cygwin docs and/or automated by the post-install script too. Just a thought. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/