Porting OpenSSH 2.9.9p2 to Dynix V4.4.4

Patrick Hess phess at best.com
Tue Oct 9 05:53:08 EST 2001


Yeah, just tried LOGIN_NEEDS_UTMPX and it failed too.  Any other ideas?  :)

			Patrick

Wendy Palm once said:
> have you tried using LOGIN_NEEDS_UTMPX ?
> 
> Patrick Hess wrote:
> > 
> > Hello Porters,
> > 
> >         I am attempting to compile OpenSSH 2.9.9p2 on a Dynix V4.4.4 host.
> > I have set USE_PIPES and BROKEN_SAVED_UIDS (the latter because there are
> > no functions for set{eu,eg}id() that I can find).  I configured with
> > "./configure  '--with-libs=-lnsl -lsec'".
> > 
> >         Each time I attempt to login, I get this error:
> > 
> >           No utmp entry.  You must exec "login" from the lowest level "sh".
> > 
> >         The Dynix man page for login (1) states:
> > 
> >           No utmp entry. You must exec "login" from the lowest level "sh"
> >                You attempted to execute login as a command without
> >                using the shell's exec internal command or from other
> >                than the initial shell.
> > 
> >         A "truss -aef" tells me that login is being execl'd like:
> > 
> >           27066:  execve("/bin/login", 0x080470FC, 0x0815F6CC) argc = 7
> >           27066:   argv: login -h <IP> -p -f -- phess
> >           27066:   envp: TZ=BST11 SSH_CLIENT=<IP> 1471 22 SSH_TTY=/dev/pts/31
> >           27066:    TERM=vt100
> > 
> >         Do you have any ideas what I can define in order to fix this problem?
> >         Thanks in advance.
> > 
> > --
> > Best regards,
> >   Patrick                             mailto:phess at best.com
> 
> -- 
> wendy palm
> Cray OS Sustaining Engineering, Cray Inc.
> wendyp at cray.com, 651-605-9154
> 




More information about the openssh-unix-dev mailing list