[sudo-workers] [PATCH] Move the pam_set_item calls for RUSER, USER, and RHOST to the pam_init function

Todd C. Miller Todd.Miller at courtesan.com
Fri Aug 7 10:18:38 EDT 2009

Setting PAM_RUSER and PAM_RHOST earlier is fine but the point of
setting PAM_USER post-authentication is that it was set to the name
of the user commands are being run as, rather than the name of the
user we are authenticating as.

 - todd

More information about the sudo-workers mailing list