Solaris 8 password inactivity with openssh
Darren Tucker
dtucker at zip.com.au
Thu Nov 10 09:14:20 EST 2005
On Thu, Nov 10, 2005 at 08:37:12AM +1100, Darren Tucker wrote:
> + } else if (spw->sp_inact > 0 && daysleft - spw->sp_inact < 0) {
Thinking about it, this should probably be "spw->sp_inact >= 0".
Linux/glibc sets sp_inact to -1 when the field is not populated in
/etc/shadow. One wonders what other platforms do...
--
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.
More information about the openssh-unix-dev
mailing list