I am creating application in HP Unix ( Now I am using HP UX 11i) which
is servie used to set a users passwrod remotly.

I successfully implement the functionality in Different Linux
versions, AIX etc.
But when I am trying the sam ( with the same code ). It report a
PAM_PERM_DENIED Error message.
PAM configuration file (/etc/pam.conf) in my system is correctly
configured. I am using the same module the "passwd" utility uses.
passwd command works fine in my machine. I am runnig my application as
root privilage.

Any idea??