I add a new PAM module for sending the password to a remote box and
setting the password for the same username on the remote machine.

After changing the password on AIX box, the password is getting
correctly updated on the remote machine.

This indicates that my PAM module is working correctly.

BUT I OBSERVED THAT THE PASSWORD IS NOT GETTING UPDATED ON LOCAL AIX
BOX.


Can any one tell me how to configure methods.cfg + /etc/pam.conf
correctly
so that both the remote machine and local machine password is set
correctly.

My config files look like this :
/usr/lib/security/methods.cfg
===========================

NIS:
program = /usr/lib/security/NIS

DCE:
program = /usr/lib/security/DCE


PAM:
program = /usr/lib/security/PAM

PAMfiles:
options = auth=PAM,db=BUILTIN

===========================


cat /etc/pam.conf

=======================
#
# Password management
#
#This module send the password to remote system and updates it

OTHER password required /usr/lib/security/pam_sso.aix.1
=======================


any information in this regard will be highly app


thanks,
avinashn