]> granicus.if.org Git - sudo/commitdiff
regen
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 26 Mar 1999 18:10:25 +0000 (18:10 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 26 Mar 1999 18:10:25 +0000 (18:10 +0000)
configure

index 8954cfbe3c653244de1766832d02d73a1b98202a..82a89e2acc91c619d275fd7fb42a4f598e993398 100755 (executable)
--- a/configure
+++ b/configure
@@ -7119,7 +7119,7 @@ if test "$with_kerb5" = "yes"; then
 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
@@ -7650,6 +7650,14 @@ test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
 
 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