From de6669b2e213f787bd1accbabe263e199b35066f Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Thu, 5 Sep 1996 15:57:41 +0000 Subject: [PATCH] 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. --- usr.bin/passwd/yp_passwd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/passwd/yp_passwd.c b/usr.bin/passwd/yp_passwd.c index b83e9f1edf4f..d5c05ffa78bb 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);