On a fresh RC6-r14 install (plus a few ports) sudo(8) installed from app-admin/sudo gives the following warning upon execution: sudo: pam_setcred: Permission denied The sudo'ed command appears to execute as normal.
It is most likely because our PAM does not support credentials yet. Upgrading PAM or applying some Red Hat patches should fix it.
*** Bug 439 has been marked as a duplicate of this bug. ***
According to the sudo homepage, http://www.courtesan.com/sudo/current.html, "In Linux-PAM 0.75, pam_setcred() will return PAM_PERM_DENIED even if the setcred function of the module succeeds when pam_authenticate() has not been called." Sudo 1.6.5p2 works around the problem.
Thanks for the info, Brent. I'm adding the new sudo to cvs right now.