|AUTH_PASSWD(3)||Double Precision, Inc.||AUTH_PASSWD(3)|
auth_passwd - Change account's password
int rc=auth_passwd(const char *service, const char *username, const char *oldpassword, const char *newpassword);
If username's password is oldpassword, it is replaced with newpassword. service identifies which so-called "service"'s password is changed; like “imap” or “pop3”. Some Courier authentication library's back-end module can use different passwords for different services. service is ignored if this is not the case.
auth_passwd returns 0 if the password was succesfully changed. A non-0 error code indicates a failure..
|10/28/2020||Double Precision, Inc.|