The /etc/securetty file is not honoured in HP-UX with UseLogin directive. This is because login(1) on invocation with -f option in OpenSSH skips this checking. Will attach the patch shortly.
Created attachment 1012 [details] Patch to honour securetty file in HP-UX
I'm not sure this is needed. We don't do this on any other platforms and sshd already has a mechanism for controlling root access (PermitRootLogin) which has more functionality than securetty (eg "PermitRootLogin without-password" for pubkey only). We went through this once before with the checks on AIX, and the result was that some people *like* being able to disable root logins via telnet but allow them via ssh.
Thanks, but we have decided that we're not going to do this. There's already a mechanism for controlling root logins and some people find it useful to allow root logins via ssh while disallowing other method.
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.