[sudo-workers] [PATCH] Move the pam_set_item calls for RUSER, USER, and RHOST to the pam_init function
jamie.beverly at yahoo.com
Wed Aug 5 23:07:44 EDT 2009
This patch, or something similar, is necessary for pam auth modules to identify the calling user during authentication.
pam_prep_user() is called after pam_verify(), which results in PAM_RUSER being undefined for auth modules.
By moving it so that the pam_set_item() calls are made as part of pam_init(), PAM_RHOST, PAM_RUSER, and PAM_USER are properly setup during authentication.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1390 bytes
Desc: not available
More information about the sudo-workers