Porting OpenSSH 2.9.9p2 to Dynix V4.4.4
wendyp at cray.com
Tue Oct 9 07:49:42 EST 2001
ok, in that case,
the problem is that the utmp is not getting created before calling login.
so there must be something wrong with do_pre_login for your system
(session.c) in that it won't create the utmp properly.
when UseLogin is not set, you are using the login sequence within the
openssh code itself, which seems to work for your os.
Patrick Hess wrote:
> Okay... :)
> I was wrong. UseLogin was indeed set, and unsetting it fixed my
> problem. :) Thank you VERY much. Apparently I need to go figger out what
> UseLogin actually does. :)
> Patrick Hess once said:
> > USE_UTMP and USE_UTMPX and USE_WTMP are set in config.h (correctly).
> > UseLogin is just a variable to allow sshd to ignore /etc/nologin.
> > Just FYI, it's not set.
> > Patrick
> > Wendy Palm once said:
> > > well, that resolved my problem on the cray. i'm afraid i hit
> > > my knowledge limit on that.
> > > there's also "USE_UTMP", maybe it additionally needs that?
> > >
> > > is your UseLogin set or not?
> > >
> > > --
> > > wendy palm
> > > Cray OS Sustaining Engineering, Cray Inc.
> > > wendyp at cray.com, 651-605-9154
> > >
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154
More information about the openssh-unix-dev