Reset password change time to zero. (This has no effect with standard

RPC calls to rpc.yppasswdd, but when using the special superuser-only
AF_UNIX socket access method, the server will properly handle all the
additional fields, including pw_change.)

I would also like to take this opportunity to say that Sprint sucks.
This commit is contained in:
Bill Paul 1996-09-05 15:57:41 +00:00
parent 2b45e3794c
commit de6669b2e2

View File

@ -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);