search for: lastup

Displaying 2 results from an estimated 2 matches for "lastup".

Did you mean: lastip
2003 Jul 09
0
[PATCH] Add expired password handling for AIX.
...login. So, we deny these login attempts here. + */ + upw = getuserpw(user); + result = getuserattr(user, S_MAXEXPIRED, &maxexpired, SEC_INT); + result2 = getuserattr(user, S_MAXAGE, &maxage, SEC_INT); + if (upw != NULL && result == 0 && result2 == 0) { + time_t now, lastup = upw->upw_lastupdate; + + now = time(NULL); + debug3("%s lastupdate %lu maxage %d wks maxexpired %d" + "wks time now %d", __func__, lastup, maxage, + maxexpired, now); + + if (maxexpired != -1 && maxage != 0 && + lastup + ((maxage + ma...
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...login. So, we deny these login attempts here. + */ + upw = getuserpw(user); + result = getuserattr(user, S_MAXEXPIRED, &maxexpired, SEC_INT); + result2 = getuserattr(user, S_MAXAGE, &maxage, SEC_INT); + if (upw != NULL && result == 0 && result2 == 0) { + time_t now, lastup = upw->upw_lastupdate; + + now = time(NULL); + debug3("%s lastupdate %lu maxage %d wks maxexpired %d" + "wks time now %d", __func__, lastup, maxage, + maxexpired, now); + + if (maxexpired != -1 && maxage != 0 && + lastup + ((maxage + ma...