chpass() - change information in the user database
#include <interix/interix.h>
int chpass(char *fq_user, char *oldpw, char *newpw)
This call, unique to INTERIX, changes a user's password in the user database. All three arguments are null-terminated strings. The fq_user argument is the name of the user whose password will be changed. It must be provided as a fully-qualified name (as in DOMAIN+fq_user).
On success, the chpass(2) returns 0. On failure, it returns -1 and sets errno.
The chpass(2) call can fail for the following reasons.
passwd(1)