Patch for UnixWare 7

Ahsan Rashid arms at
Wed Apr 20 05:54:23 EST 2005

On Tue, 19 Apr 2005, Tim Rice wrote:

> On Tue, 19 Apr 2005, Ahsan Rashid wrote:
>> + libcrypt which needs to come after openssl's libcrypto.
> Could you please elaborate on this one? I'm not seeing any problems on 
> UnixWare here.

I guess you're using UnixWare 7.1.4 with either Maintenance Pack 2 or 3. 
If that is the case, you'll not see this problem since the OpenSSH package 
provided there uses PAM for authentication.

I encountered this while porting OpenSSH for UnixWare 7.1.1 a while back 
and am submitting the patch only now.  UnixWare uses >8 character passwd's 
and uses bigcrypt() provided in libcrypt to encrypt passwds.  Once we 
patched auth-passwd.c:sys_auth_passwd() to call bigcrypt(), we needed 
libcrypt.  However, since libcrypt and libcrypto have some symbols in 
common, we needed libcrypt at the end.  This was not enough, we had to fix 
libcrypt to bind the common named symbols internally for obvious reasons.

Now I haven't submitted the bigcrypt() patch yet since there is more code 
here to deal with NIS etc. and is not yet finalized.

>> +	cat >>confdefs.h <<\_ACEOF
>> +#define DISABLE_FD_PASSING 1
>    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Did you really want this?

UnixWare uses IAF for authentication.  Again, we've added some patches 
here but they're not in final form.  The code only works if we define the 

And thanks for getting the 'passwd needs username' patch in.


PS. I am not on the list, so please make sure I am CCed on replies to this 

More information about the openssh-unix-dev mailing list