diff --git a/usr.bin/passwd/yp_passwd.c b/usr.bin/passwd/yp_passwd.c index b83e9f1edf4..d5c05ffa78b 100644 --- a/usr.bin/passwd/yp_passwd.c +++ b/usr.bin/passwd/yp_passwd.c @@ -87,6 +87,8 @@ for other users"); return(1); } + pw->pw_change = 0; + /* Initialize password information */ if (suser_override) { master_yppasswd.newpw.pw_passwd = strdup(pw->pw_passwd);