Purpose of commit: bugfix
Commit summary:
---------------
keep well know behaviour of maxlogins default ('*') limit
0.76: please submit patches for this section with actual code/doc
patches!
+* pam_limits: keep well know behaviour of maxlogins default ('*') limit
+ (Bug 533664 - baggins)
* pam_unix: more from Nalin log password changes (Bug 517743 - agmorgan)
* pam_limits: make it use the priority value specified in config
(bug 530428 - baggins)
continue;
}
if (!pl->flag_numsyslogins) {
- if ((pl->login_limit_def == LIMITS_DEF_USER)
+ if (((pl->login_limit_def == LIMITS_DEF_USER) ||
+ (pl->login_limit_def == LIMITS_DEF_DEFAULT))
&& strncmp(name, ut->UT_USER, sizeof(ut->UT_USER)) != 0) {
continue;
}