Openssh-2.1.1p1 and solaris 7/8

P.S.S.Camp P.S.S.Camp at ukc.ac.uk
Wed Jun 14 19:26:17 EST 2000


On Tue, 13 Jun 2000, John Horne wrote:

> On 13-Jun-00 at 14:44:32 P.S.S.Camp wrote:
> >> Telnet logs in okay, but just shows 'Last login...jhorne.csd.plymo'.
> >> 
> > Right to further my patch yesterday this superseeds it
> > --- loginrec.c.old      Wed Jun  7 12:32:13 2000
> > +++ loginrec.c  Tue Jun 13 15:29:19 2000
> > @@ -1087,7 +1087,7 @@
> >  #endif
> [rest snipped]
> 
> Yup, this seems to work fine :-) Only thing I noticed was that, as above,
> telnet showed 'plymo' (a truncated plymouth.ac.uk), whilst slogin after your
> patch shows 'plym'. I have no idea if that is significant :-)
> 
> Many thanks,
> 
What is written into lastlog on solaris is an lastlog entry not a utmpx,
therefore hostnames are truncated to 15 char + terminator see

/usr/include/lastlog.h

Phill.


-- 
Computer Science Computing Officer







More information about the openssh-unix-dev mailing list