in reply to Changing Password using Authen::PAM

Authen::PAM includes a FAQ.pod in which the second question is "Can I change a password non interactively?", and the answer gives full example code. Have you tried modifying your code along the lines of that example?

Hugo
  • Comment on Re: Changing Password using Authen::PAM

Replies are listed 'Best First'.
Re: Re: Changing Password using Authen::PAM
by SamQi (Beadle) on Mar 02, 2003 at 22:03 UTC
    Yes, but it is worth noting that the only thing that changes is the conversation function. When I call pam_chauthtok, it never even calls the conversation function. It's weird.