To publish password change information, you must change passwords with a method that uses PAM or LAM. The driver obtains password change information through PAM and LAM.
To set a password, use passwd, not yppasswd or passwd -r. yppasswd and passwd -r bypass the authentication module.
Do not specify a password with useradd. This bypasses the authentication module.
For more information about the driver PAM and LAM modules, see Section C.4, PAM Configuration Details and Section C.5, LAM Configuration Details.