fi
if test "$with_pam" = "yes"; then
- SUDO_LIBS="${SUDO_LIBS} -ldl -lpam -lpam_misc"
+ SUDO_LIBS="${SUDO_LIBS} -ldl -lpam"
fi
if test "$with_AFS" = "yes"; then
if test "$with_pam" = "yes"; then
echo ""
- echo "You will need to customize sample.pam and install it as /etc/pam.d/sudo"
+ case $host in
+ *-*-solaris2*)
+ echo "You will need to add the following line to /etc/pam.conf"
+ echo "sudo auth required /usr/lib/security/pam_unix.so.1"
+ ;;
+ *-*-linux*)
+ echo "You will need to customize sample.pam and install it as /etc/pam.d/sudo"
+ ;;
+ esac
echo ""
fi