Can I ask for some advice, as to where in the code would be the logical place to add code to ask a user to change his password? Presumably do_pam_account is the *wrong* place. Guess I should build a do_pam_password function, but who should be calling it?
On Wed, May 31, Chip Christian wrote:> Can I ask for some advice, as to where in the code would be the logical > place to add code to ask a user to change his password? Presumably > do_pam_account is the *wrong* place. Guess I should build a > do_pam_password function, but who should be calling it?I think it would be nice to have the ability to prompt for a new password even if you don't use pam. So maybe it could be more general function ? -Jarno
Maybe Matching Threads
- [PATCH]: Call pam_chauthtok from keyboard-interactive.
- [PATCH] Perform do_pam_chauthtok via SSH2 keyboard-interactive.
- [PATCH] Do PAM chauthtok via keyboard-interactive.
- patch: openssh empty password fail with pam/sshv1
- 5.1p on RHEL 3 and password expiration