19822771 sudo(1m) calls pam_open_session() which doesn't interact well w/pam_unix_session s11-update
authorBrent Paulson <Brent.Paulson@Oracle.COM>
Wed, 28 Jan 2015 15:40:23 +0100
branchs11-update
changeset 3697 b681756a810c
parent 3696 fbfdc5cc094f
child 3698 9c01a3410e89
19822771 sudo(1m) calls pam_open_session() which doesn't interact well w/pam_unix_session
components/sudo/Makefile
--- a/components/sudo/Makefile	Tue Jan 27 05:05:55 2015 -0800
+++ b/components/sudo/Makefile	Wed Jan 28 15:40:23 2015 +0100
@@ -19,7 +19,7 @@
 # CDDL HEADER END
 
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 include ../../make-rules/shared-macros.mk
@@ -53,7 +53,9 @@
 CONFIGURE_OPTIONS +=	--with-ldap
 CONFIGURE_OPTIONS +=	--with-project
 CONFIGURE_OPTIONS +=	--with-timedir=/system/volatile/sudo
-CONFIGURE_OPTIONS +=	--with-pam --with-pam-login
+CONFIGURE_OPTIONS +=	--with-pam
+CONFIGURE_OPTIONS +=	--with-pam-login
+CONFIGURE_OPTIONS +=	--disable-pam-session
 CONFIGURE_OPTIONS +=	--with-tty-tickets
 CONFIGURE_OPTIONS +=	--without-insults
 CONFIGURE_OPTIONS +=	--without-lecture