Lines Matching refs:newpw
94 struct passwd newpw, opwd;
148 (!validstr(yppwd.newpw.pw_passwd, cryptpwsize)) ||
149 (!validstr(yppwd.newpw.pw_name, UTUSERLEN)) ||
150 (!validstr(yppwd.newpw.pw_gecos, fingersize)) ||
151 (!validstr(yppwd.newpw.pw_shell, shellsize))) {
170 newpw = yppwd.newpw;
171 strcpy(name, newpw.pw_name);
409 newpw.pw_name);
415 newpw.pw_name);
436 oldpass_crypt = cryptoldpasswd(yppwd.oldpass, newpw.pw_passwd,
437 newpw.pw_name);
442 p = newpw.pw_passwd;
447 (strcmp(oldpass_crypt, newpw.pw_passwd) != 0))
451 if ((!noshell) && (strcmp(opwd.pw_shell, newpw.pw_shell) != 0)) {
457 if ((!nogecos) && (strcmp(opwd.pw_gecos, newpw.pw_gecos) != 0)) {
467 newpw.pw_name);
474 newpw.pw_name);
481 newpw.pw_name);
502 newpw.pw_name);
509 newpw.pw_name);
515 newpw.pw_name);
522 newpw.pw_name);
532 yppwd.newpw.pw_shell,
533 yppwd.newpw.pw_gecos,
534 yppwd.newpw.pw_passwd);
543 !validloginshell(opwd.pw_shell, newpw.pw_shell, root_on_master)) {
548 for (p = newpw.pw_name; (*p != '\0'); p++)
551 for (p = newpw.pw_passwd; (*p != '\0'); p++)
556 opwd.pw_gecos = newpw.pw_gecos;
559 opwd.pw_shell = newpw.pw_shell;
578 ospwd.sp_pwdp = newpw.pw_passwd;
599 "%s%s%s", name, newpw.pw_passwd, adj_crypt_end);
607 opwd.pw_passwd = newpw.pw_passwd;