public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: sshd "PrintLastLog yes"
@ 2003-09-07  9:30 Fermin Sanchez
  2003-09-07 18:35 ` Larry Hall
  0 siblings, 1 reply; 10+ messages in thread
From: Fermin Sanchez @ 2003-09-07  9:30 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* sshd "PrintLastLog yes"
@ 2003-09-06 19:05 Fermin Sanchez
  2003-09-06 20:15 ` Corinna Vinschen
  0 siblings, 1 reply; 10+ messages in thread
From: Fermin Sanchez @ 2003-09-06 19:05 UTC (permalink / raw)
  To: cygwin

Hello list

I added/uncommented "PrintLastLog yes" in /etc/sshd_config and restarted
the sshd Service from Windows. I don't see a message about the last time
(and host, afair) the last logon took place. I know that this used to
work in an earlier version of an sshd on my (Windows) system. Not sure,
though, if it was cygwin's sshd.

Any hints where I should start looking (rtfm didn't bring any results,
neither did a quick google).

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-09-08 17:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-07  9:30 sshd "PrintLastLog yes" Fermin Sanchez
2003-09-07 18:35 ` Larry Hall
2003-09-07 18:41   ` Igor Pechtchanski
2003-09-08 16:01   ` Joshua Daniel Franklin
2003-09-08 16:07     ` Christopher Faylor
2003-09-08 16:23       ` Igor Pechtchanski
2003-09-08 16:57         ` Corinna Vinschen
2003-09-08 17:10           ` Igor Pechtchanski
  -- strict thread matches above, loose matches on Subject: below --
2003-09-06 19:05 Fermin Sanchez
2003-09-06 20:15 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).