mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
2b45e3794c
commit
de6669b2e2
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue