The UseLogin option is broken on AIX in openssh-3.2.2p1. Setting "UseLogin yes" results in an error message and failed login for each attempted login: /dev/pts/1: 3004-004 You must "exec" login from the lowest login shell. I can re-create this problem unser 3.0.2p1, 3.1pq and 3.2.2p2 on multiple AIX 4.3.3 systems (ML6 up to ML10). Does anyone know AIX well enough to diagnose the cause and propose a solution?
Created attachment 100 [details] sshd -d -d -d
can you try with LOGIN_NEEDS_UTMPX defined?
-DLOGIN_NEEDS_UTMPX solves the problem for 3.2.2. I'll try it with 3.2.3 when I am back in the office. If successful then it would be great to have this auto-defined for AIX by configure. Thanks for your help :)
Created attachment 115 [details] Add LOGIN_NEEDS_UTMPX to configure.ac for AIX
Confirmed problem still exists in -cvs and goes away with this patch, after make distprep, configure and rebuild. Tested on AIX 4.3.3 ML 0 only.
thanks, commited.
Mass change of RESOLVED bugs to CLOSED