delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/07/14:41: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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 7 Sep 2003 14:40:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: Fermin Sanchez <fermin AT fermin DOT ch>
Subject: RE: sshd "PrintLastLog yes"
In-Reply-To: <5.1.0.14.0.20030907142823.0468a3d8@127.0.0.1>
Message-ID: <Pine.GSO.4.56.0309071438140.7348@slinky.cs.nyu.edu>
References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20030907142823 DOT 0468a3d8 AT 127 DOT 0 DOT 0 DOT 1>
Importance: Normal
MIME-Version: 1.0

On Sun, 7 Sep 2003, Larry Hall wrote:

> 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

Please, please, please don't put this in a postinstall script.  I, for
one, would not want any postinstall script to muck around with my
directory and file permissions (as I don't have any control over whether
that script runs).  I'd suggest putting it into ssh-host-config instead
(and, of course, the README file for those who prefer to configure sshd
manually).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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