Re: OpenSSH 4.0 fails on HP-UX when 'Uselogin' is set to 'yes'

From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 04/16/05


Date: 15 Apr 2005 23:30:57 GMT

On 2005-04-15, Michael Selvesteen <selvesteen@hotmail.com> wrote:
> I use OpenSSH 4.0 on HP-UX B.11.23. When I set uselogin to yes in
> server config file the ssh connection to the server fails as shown
> below
[...]
> No utmp entry.You must exec "login" from the lowest level "sh".
> Connection to localhost closed.

It's a guess but try commenting out the line "#define LOGIN_NEEDS_UTMPX 1"
from config.h and recompiling. Please let us know if it works...

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


Relevant Pages

  • Re: Scripting SSH connections
    ... > an SSH connection to another machine, execute arbitrary commands, read ... I can pipe commands to ssh but ... Good judgement comes with experience. ...
    (SSH)
  • Re: Real VNC v4.0 and SSH Tunnel
    ... bob wrote: ... >unable to connect via SSH connection. ... That sounds like a RealVNC problem not an SSH problem... ... Good judgement comes with experience. ...
    (comp.security.ssh)