Searched refs:spw (Results 1 - 6 of 6) sorted by relevance

/freebsd-9.3-release/crypto/openssh/
H A Dauth-shadow.c56 auth_shadow_acctexpired(struct spwd *spw) argument
63 daysleft = spw->sp_expire - today;
65 (int)spw->sp_expire, daysleft);
67 if (spw->sp_expire == -1) {
70 logit("Account %.100s has expired", spw->sp_namp);
72 } else if (daysleft <= spw->sp_warn) {
90 struct spwd *spw = NULL; local
96 if ((spw = getspnam((char *)user)) == NULL) {
103 (int)spw->sp_lstchg, (int)spw
[all...]
H A Dauth.c105 struct spwd *spw = NULL; local
114 spw = getspnam(pw->pw_name);
116 if (!options.use_pam && spw != NULL && auth_shadow_acctexpired(spw))
124 if (spw != NULL)
128 passwd = spw->sp_pwdp;
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dxcrypt.c100 struct spwd *spw = getspnam(pw->pw_name); local
102 if (spw != NULL)
103 pw_password = spw->sp_pwdp;
111 struct passwd_adjunct *spw; local
112 if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL)
113 pw_password = spw->pwa_passwd;
115 struct pr_passwd *spw = getprpwnam(pw->pw_name);
117 if (spw != NULL)
118 pw_password = spw->ufld.fd_encrypt;
/freebsd-9.3-release/contrib/pam_modules/pam_passwdqc/
H A Dpam_passwdqc.c317 struct spwd *spw; local
388 spw = getspnam(user);
390 if (spw) {
391 if (strcmp(crypt(oldpass, spw->sp_pwdp),
392 spw->sp_pwdp))
394 memset(spw->sp_pwdp, 0,
395 strlen(spw->sp_pwdp));
/freebsd-9.3-release/lib/libutil/
H A Dpw_util.c227 if (snprintf(tempname, sizeof(tempname), "%.*spw.XXXXXX",
435 const struct passwd *spw; local
442 spw = old_pw;
452 if (spw == NULL)
453 spw = pw;
520 if (fpw == NULL || strcmp(fpw->pw_name, spw->pw_name) != 0) {
/freebsd-9.3-release/contrib/cvs/src/
H A Dserver.c5730 struct spwd *spw;
5732 spw = getspnam (username);
5733 if (spw != NULL)
5735 found_passwd = spw->sp_pwdp;
5709 struct spwd *spw; local

Completed in 81 milliseconds