ns_permpasswd user oldpass newpass
ns_permpasswd updates an existing user's password, both in the running server's memory as well as in the passwd file on disk. The user is the name of the user whose password is to be updated. The oldpass argument is the user's old password, or the nsadmin password, in plain text. The newpass argument is the new password in plain text.