Re: SCO OpenServer 5.0.5 authenticates locked accounts



Powell, Scott wrote:
I have noticed that SSH compiled for SCO OpenServer 5.0.5 is
authenticating locked accounts. I have tried re-compiling the latest
portable version, 4.3p2, as well as some older versions. I also tried a
Skunkware version supplied by SCO. All of these are authenticating
locked accounts. I even messed around in configure.ac and added
AC_DEFINE(LOCKED_PASSWD_STRING, "*LK*") to the *-*-sco3.2v5* definitions
(locked accounts have a *LK* in the shadow file as a prefix to the
encrypted password hash.

Unless you also rebuild configure with "autoconf" or "autoreconf" and reran configure then your changes would not have taken effect.

Does anyone have any recommendations or workarounds?

Try adding:

#define LOCKED_PASSWD_STRING "*LK*"

to defines.h and recompiling.

--
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