search for: s_maxag

Displaying 3 results from an estimated 3 matches for "s_maxag".

Did you mean: s_maxage
2003 Apr 14
1
[Bug 14] Can't change expired /etc/shadow password without PAM
http://bugzilla.mindrot.org/show_bug.cgi?id=14 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From dtucker at zip.com.au 2003-04-15 09:57 ------- Patch against 3.6.1p1 now available. No
2003 Jul 09
0
[PATCH] Add expired password handling for AIX.
...xpired still returns 1 but /bin/passwd will fail + * while still returning a successiful status, allowing the + * 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,...
2003 Jul 30
1
[PATCH] Password expiry merge (AIX parts)
...xpired still returns 1 but /bin/passwd will fail + * while still returning a successiful status, allowing the + * 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,...