That's the purpose of the PAM_OLDAUTHTOK item. The app had better set it, if it knows it, else a module must prompt for it. Modules have to be prepared to deal with PAM_OLDAUTHTOK being set as well as with it being unset. Cheers, Nico On Mon, Apr 15, 2002 at 02:09:45PM +0200, Thorsten Kukuk wrote: > Is there really no way to get the AUTHTOK used in > pam_sm_authenticate() from pam_sm_chauthtok()? Do I really have to > ask the user a second time for his password? -- -DISCLAIMER: an automatically appended disclaimer may follow. By posting- -to a public e-mail mailing list I hereby grant permission to distribute- -and copy this message.- Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.