sudo のPAM設定 は make install 時に出てくるのは使わない。

> sudo -s
sudo: unable to initialize PAM: No such file or directory

ね。

> pwd
/usr/ports/security/sudo/work/sudo-1.6.8p12
say sample.pam
#%PAM-1.0
# Sample /etc/pam.d/sudo file for RedHat 9 / Fedora Core.
# For other Linux distributions you may want to
# use /etc/pam.d/sshd or /etc/pam.d/su as a guide.

cd /etc/pam.d/
cp su sudo

http://www.netbsd.org/guide/en/chap-pam.html
もっと良い案があった
# cd /etc/pam.d
# ln -s su sudo

_cur# cat > /usr/local/etc/sudoers *1
# Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

CPAN とかは sudo の方が勝手が良い。
~/.cpan/ とか。

*1:or /etc/sudoers