Lines Matching refs:spwd
1137 struct spwd *spwd;
1138 struct spwd *getspnam();
1147 spwd = getspnam(user);
1149 if (spwd) {
1153 if ((spwd->sp_expire > 0 && now >= spwd->sp_expire)
1154 || ((spwd->sp_max >= 0 && spwd->sp_max < 10000)
1155 && spwd->sp_lstchg >= 0
1156 && now >= spwd->sp_lstchg + spwd->sp_max)) {
1160 pw->pw_passwd = spwd->sp_pwdp;