sp_expire is 0 in QNX Neutrino
Tim Rice
tim at multitalents.net
Wed Sep 19 14:20:14 EST 2007
On Tue, 18 Sep 2007, David Bacon wrote:
> QNX Neutrino does not support the shadow
> password database properly. Apart from
> misdocumenting /etc/shadow as having 4
> fields when in fact it has 5 (including
> the "last changed" field), its getspnam()
> fills in the sp_expire field of the spwd
> structure with 0. And since by default,
> shadow support is enabled and the
> configure script turns on HAS_SHADOW_EXPIRE
> when it finds that field, the built sshd
> ends up refusing all connections on the
> grounds of an expired account.
What happens if you undef HAS_SHADOW_EXPIRE in config.h?
--
Tim Rice Multitalents (707) 887-1469
tim at multitalents.net
More information about the openssh-unix-dev
mailing list