Home
last modified time | relevance | path

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

/external/openssh/
Dauth-shadow.c56 auth_shadow_acctexpired(struct spwd *spw) in auth_shadow_acctexpired() argument
63 daysleft = spw->sp_expire - today; in auth_shadow_acctexpired()
65 (int)spw->sp_expire, daysleft); in auth_shadow_acctexpired()
67 if (spw->sp_expire == -1) { in auth_shadow_acctexpired()
70 logit("Account %.100s has expired", spw->sp_namp); in auth_shadow_acctexpired()
72 } else if (daysleft <= spw->sp_warn) { in auth_shadow_acctexpired()
90 struct spwd *spw = NULL; in auth_shadow_pwexpired() local
95 if ((spw = getspnam((char *)user)) == NULL) { in auth_shadow_pwexpired()
102 (int)spw->sp_lstchg, (int)spw->sp_max); in auth_shadow_pwexpired()
120 daysleft = spw->sp_lstchg + spw->sp_max - today; in auth_shadow_pwexpired()
[all …]
Dauth.c108 struct spwd *spw = NULL; in allowed_user() local
117 spw = getspnam(pw->pw_name); in allowed_user()
119 if (!options.use_pam && spw != NULL && auth_shadow_acctexpired(spw)) in allowed_user()
127 if (spw != NULL) in allowed_user()
131 passwd = spw->sp_pwdp; in allowed_user()
/external/openssh/openbsd-compat/
Dxcrypt.c141 struct spwd *spw = getspnam(pw->pw_name); in shadow_pw() local
143 if (spw != NULL) in shadow_pw()
144 pw_password = spw->sp_pwdp; in shadow_pw()
152 struct passwd_adjunct *spw; in shadow_pw() local
153 if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL) in shadow_pw()
154 pw_password = spw->pwa_passwd; in shadow_pw()
156 struct pr_passwd *spw = getprpwnam(pw->pw_name); in shadow_pw() local
158 if (spw != NULL) in shadow_pw()
159 pw_password = spw->ufld.fd_encrypt; in shadow_pw()
/external/libcups/scheduler/
Dauth.c635 struct spwd *spw; /* Shadow password data */ in cupsdAuthorize()
653 spw = getspnam(username); in cupsdAuthorize()
656 if (!spw && !strcmp(pw->pw_passwd, "x")) in cupsdAuthorize()
666 if (spw && !spw->sp_pwdp[0] && !pw->pw_passwd[0]) in cupsdAuthorize()
689 if (spw) in cupsdAuthorize()
691 pass = crypt(password, spw->sp_pwdp); in cupsdAuthorize()
693 if (pass == NULL || strcmp(spw->sp_pwdp, pass)) in cupsdAuthorize()
/external/icu/icu4c/source/data/translit/
Dvec_vec_FONIPA.txt37 {sp} {spɾ} {spw} {st} {stɾ} {stw} {sk} {skɾ} {skw}
/external/ipsec-tools/src/racoon/
Disakmp_xauth.c1196 struct spwd *spw; local
1198 if ((spw = getspnam(usr)) == NULL)
1201 syscryptpwd = spw->sp_pwdp;