The ebuild for sudo should not install /etc/pam.d/sudo when the pam USE flag is not set. Reproducible: Always Steps to Reproduce: 1. Unset pam use flag. 2. emerge sudo 3. Actual Results: The file sudo gets placed in /etc/pam.d Expected Results: No file should have gotten installed into /etc/pam.d
wfm. >>> Merging app-admin/sudo-1.6.7_p5-r2 to / * >>> SetUID: [chmod go-r] /var/tmp/portage-pkg/sudo-1.6.7_p5-r2/bin/us [ ok ]do ... --- /etc/ >>> /etc/sudoers --- /usr/ --- /usr/bin/ >>> /usr/bin/sudo --- /usr/sbin/ >>> /usr/sbin/visudo --- /usr/share/ --- /usr/share/doc/ --- /usr/share/doc/sudo-1.6.7_p5-r2/ >>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.syslog.conf.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/README.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/UPGRADE.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/PORTING.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/TODO.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/HISTORY.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/TROUBLESHOOTING.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.sudoers.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/sample.pam.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/BUGS.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/CHANGES.gz >>> /usr/share/doc/sudo-1.6.7_p5-r2/RUNSON.gz --- /usr/share/man/ --- /usr/share/man/man5/ >>> /usr/share/man/man5/sudoers.5.gz --- /usr/share/man/man8/ >>> /usr/share/man/man8/visudo.8.gz >>> /usr/share/man/man8/sudo.8.gz
should be all set now