Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ypcmd/yppasswd/
H A Dchangepasswd.c94 struct passwd newpw, opwd; in changepasswd() local
429 opwd = *fgetpwent(opwfp); in changepasswd()
446 (strcmp(p, opwd.pw_name) == 0)) && in changepasswd()
451 if ((!noshell) && (strcmp(opwd.pw_shell, newpw.pw_shell) != 0)) { in changepasswd()
457 if ((!nogecos) && (strcmp(opwd.pw_gecos, newpw.pw_gecos) != 0)) { in changepasswd()
514 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, opwd.pw_passwd, in changepasswd()
518 if (!root_on_master && opwd.pw_passwd && *opwd.pw_passwd && in changepasswd()
519 (strcmp(oldpass_crypt, opwd.pw_passwd) != 0)) { in changepasswd()
537 opwd.pw_shell, in changepasswd()
538 opwd.pw_gecos, in changepasswd()
[all …]