I am facing some small issue when trying to change the password on Linux box using Authen PAM with the example given the FAQ section "Can I change Password non interactivity" (http://search.cpan.org/~nikip/Authen-PAM-0.16/PAM/FAQ.pod#2._Can_I_change_a_password_non_interactively%3F) I am getting the error "Authentication token manipulation error".
When I change the password with "passwd" command for non root user, It asks 1.Current password 2.New password 3.Retype new password.