The problem(s) with sudo have been fixed in the latest sudo CVS release.
This works for me on -CURRENT as of December 16th, 2001 and RELENG_4
--- /tmp/sudo-1.6.5p1/auth/pam.c Mon Dec 31 12:18:12 2001
+++ /home/ancient/test/sudo/auth/pam.c Mon Jan 21 06:54:37 2002
@@ -66,7 +66,7 @@
#i
FYI: pam_setcred() call seems used in OpenSSH, ftpd, rshd, login, and su
already included in FreeBSD source code.
http://snapshots.jp.freebsd.org/tour/current/cgi-bin/global.cgi?pattern=pam_setcred&id=&type=reference>
imp> OK. This looks like a problem in 1.6.4p1 of sudo. It isn't a problem
i