Bug 255 - You must "exec" login from the lowest login shell.
Summary: You must "exec" login from the lowest login shell.
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: -current
Hardware: PPC AIX
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-22 20:03 AEST by Doug Manton
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
sshd -d -d -d (11.24 KB, text/plain)
2002-05-22 20:06 AEST, Doug Manton
no flags Details
Add LOGIN_NEEDS_UTMPX to configure.ac for AIX (488 bytes, patch)
2002-06-21 21:32 AEST, Darren Tucker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Manton 2002-05-22 20:03:21 AEST
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?
Comment 1 Doug Manton 2002-05-22 20:06:35 AEST
Created attachment 100 [details]
sshd -d -d -d
Comment 2 Kevin Steves 2002-05-26 03:34:53 AEST
can you try with LOGIN_NEEDS_UTMPX defined?
Comment 3 Doug Manton 2002-05-26 05:07:46 AEST
-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 :)
Comment 4 Darren Tucker 2002-06-21 21:32:53 AEST
Created attachment 115 [details]
Add LOGIN_NEEDS_UTMPX to configure.ac for AIX
Comment 5 Darren Tucker 2002-06-21 21:36:12 AEST
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.
Comment 6 Kevin Steves 2002-06-23 04:51:19 AEST
thanks, commited.
Comment 7 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED