Applications and PAM_OLDAUTHTOK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have an application, which uses PAM for user authentication.
But now I need later the current clear password of the User to
change some user informations on a remote side over NIS, NIS+ or
LDAP.

It is stupid to ask the user a second time for the password.

pam_get_item (pamh, PAM_OLDAUTHTOK, ...); does not work from
the application, is there another way to access the data?
I could write my own conversion function and parse the strings,
but I don't think that this is a really good idea.

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux