Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
AUTH_PASSWD(3)			 S. Varshavchik.		  AUTH_PASSWD(3)

NAME
     auth_passwd - Change account's password

SYNOPSIS
     #include <courierauth.h>

     int	rc=auth_passwd(const char *service,	   const char *username,
			const char *oldpassword, const char *newpassword);

DESCRIPTION
     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.

RETURNS
     auth_passwd returns 0 if the password was successfully changed. A non-0 er-
     ror code indicates a failure..

SEE ALSO
     authlib(3)[1],  auth_generic_meta(3)[2],  auth_login_meta(3)[3],	auth_ge-
     tuserinfo_meta(3)[4], auth_enumerate(3)[5].

NOTES
      1. authlib(3)
	 https://www.courier-mta.org/authlib/authlib.html

      2. auth_generic_meta(3)
	 https://www.courier-mta.org/authlib/auth_generic.html

      3. auth_login_meta(3)
	 https://www.courier-mta.org/authlib/auth_login.html

      4. auth_getuserinfo_meta(3)
	 https://www.courier-mta.org/authlib/auth_getuserinfo.html

      5. auth_enumerate(3)
	 https://www.courier-mta.org/authlib/auth_enumerate.html

S. Varshavchik. 		   06/18/2026			  AUTH_PASSWD(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=auth_passwd&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help