Re: Solaris 8 password inactivity with openssh

This is a discussion on Re: Solaris 8 password inactivity with openssh within the OpenSSH Development forums, part of the Networking and Network Related category; On Thu, Nov 10, 2005 at 08:37:12AM +1100, Darren Tucker wrote: > + } else if (spw->sp_inact > ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-09-2005
Darren Tucker
 
Posts: n/a
Default Re: Solaris 8 password inactivity with openssh

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.

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0