delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/07/05:31:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Subject: RE: sshd "PrintLastLog yes"
Date: Sun, 7 Sep 2003 11:30:34 +0200
Message-ID: <99AE13FA0F1F824AA6D299741FE6C82F8EC6@dcp1.home.fermin.ch>
MIME-Version: 1.0
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
From: "Fermin Sanchez" <fermin AT fermin DOT ch>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h879V96K022955

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" ;-)

Cheers
Fermin

--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019