Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c95 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()
[all …]