Hi, This looks great. I'm going to try to use this to instantiate offlineimap. To do that, I'll need to pipe the user's password to the offlineimap command. Any idea how to do that? Is it possible with pam-hooks?

--albertlash


it is not with the current API, since the hooks does not receive the password as a parameter. Moreover when logging in via PAM, you not necessarily have a password, you can have been authorized to login by other means ... So this is in general not possible. I don't like the idea to make special arrangement for the special case in which a password is available; in addition it would also have serious security issues.

--zack