Pam_exim a patched version of the pam_unix module that comes with the Linux-Pam package (http://kernel.org/pub/linux/libs/pam/). It is designed to authenicate a user/password-pair not only for root, but one special user/group that is in my configuration the user running the EXIM MTA. For security reasons it checks the calling user/group and checks for the userid of the user that is going to be authenticated being > than a MINUID. this patch is very very usefull. i dont really know how to patch the pam ebuild in a way that doesnt looks like "ugly hack". the one that could write an ebuild for this module is my personal hero. :) Reproducible: Always Steps to Reproduce: 1. 2. 3.
I know, it is not what you want, but pam_dotfile is another solution, which is already in portage.
closing because using pam_dotfile is a sufficient solution