[Pam-developers] Forwarding the password to the next PAM module?

Thorsten Kukuk kukuk at suse.de
Wed Jun 27 12:45:13 UTC 2012


On Tue, Jun 26, Piotr Dąbrowski wrote:

> My PAM module obtains the password from user with pam_get_authtok() and the
> pam_conv structure from pam_get_item().
> Is it possible to forward this password (or modified one) to the next PAM
> module in the queue, so that it doesn't have to prompt the user for it
> again?
> If so, how can I do it?

Like you get it: pam_set_authtok().

http://www.linux-pam.org/Linux-PAM-html/mwg-expected-by-module-item.html#mwg-pam_set_item

  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)


More information about the Pam-developers mailing list