Lines Matching refs:ospwd
95 struct spwd ospwd; in changepasswd() local
433 ospwd = *fgetspent(ospfp); in changepasswd()
473 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, ospwd.sp_pwdp, in changepasswd()
477 if (ospwd.sp_pwdp && *ospwd.sp_pwdp && in changepasswd()
478 (strcmp(oldpass_crypt, ospwd.sp_pwdp) != 0)) { in changepasswd()
539 ospwd.sp_pwdp); in changepasswd()
578 ospwd.sp_pwdp = newpw.pw_passwd; in changepasswd()
581 if (ospwd.sp_max != -1) { in changepasswd()
582 if (now < ospwd.sp_lstchg + ospwd.sp_min) { in changepasswd()
586 ospwd.sp_min); in changepasswd()
590 ospwd.sp_lstchg = now; in changepasswd()
591 if (putspent(&ospwd, nspfp)) { in changepasswd()