[ELDK] [PATCH] pam_stack.so no longer provided by ELDK 4.2

Steven A. Falco sfalco at harris.com
Thu Jul 17 22:16:31 CEST 2008


The following patch replaces pam_stack.so with a simple include.  This is
necessary because the PAM library in ELDK 4.2 no longer includes the
pam_stack.so module.

     etc/pam.d/chfn          |    8 +++---
     etc/pam.d/chsh          |    8 +++---
     etc/pam.d/ftp           |    6 ++--
     etc/pam.d/login         |    8 +++---
     etc/pam.d/passwd        |    6 ++--
     etc/pam.d/rexec         |    4 +-
     etc/pam.d/rlogin        |    8 +++---
     etc/pam.d/rsh           |    4 +-
     etc/pam.d/su            |    8 +++---

	Signed-off-by: Steven A. Falco <sfalco at harris.com>

diff --git a/etc/pam.d/chfn b/etc/pam.d/chfn
index c55c45b..bbca369 100644
--- a/etc/pam.d/chfn
+++ b/etc/pam.d/chfn
@@ -1,6 +1,6 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       sufficient   /lib/security/pam_rootok.so
-auth       required	/lib/security/pam_stack.so service=system-auth
-account    required	/lib/security/pam_stack.so service=system-auth
-password   required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+password   include	system-auth
+session    include	system-auth
diff --git a/etc/pam.d/chsh b/etc/pam.d/chsh
index c55c45b..bbca369 100644
--- a/etc/pam.d/chsh
+++ b/etc/pam.d/chsh
@@ -1,6 +1,6 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       sufficient   /lib/security/pam_rootok.so
-auth       required	/lib/security/pam_stack.so service=system-auth
-account    required	/lib/security/pam_stack.so service=system-auth
-password   required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+password   include	system-auth
+session    include	system-auth
diff --git a/etc/pam.d/ftp b/etc/pam.d/ftp
index 7bb5d0c..89e7257 100644
--- a/etc/pam.d/ftp
+++ b/etc/pam.d/ftp
@@ -1,6 +1,6 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       required	/lib/security/pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
-auth       required	/lib/security/pam_stack.so service=system-auth
 auth       required	/lib/security/pam_shells.so
-account    required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+session    include	system-auth
diff --git a/etc/pam.d/login b/etc/pam.d/login
index 48d72ef..d968825 100644
--- a/etc/pam.d/login
+++ b/etc/pam.d/login
@@ -1,8 +1,8 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       required	pam_securetty.so
-auth       required	pam_stack.so service=system-auth
 auth       required	pam_nologin.so
-account    required	pam_stack.so service=system-auth
-password   required	pam_stack.so service=system-auth
-session    required	pam_stack.so service=system-auth
+account    include	system-auth
+password   include	system-auth
+session    include	system-auth
 session    optional	pam_console.so
diff --git a/etc/pam.d/passwd b/etc/pam.d/passwd
index d1a1c3b..e956e2d 100644
--- a/etc/pam.d/passwd
+++ b/etc/pam.d/passwd
@@ -1,4 +1,4 @@
 #%PAM-1.0
-auth       required	/lib/security/pam_stack.so service=system-auth
-account    required	/lib/security/pam_stack.so service=system-auth
-password   required	/lib/security/pam_stack.so service=system-auth
+auth       include	system-auth
+account    include	system-auth
+password   include	system-auth
diff --git a/etc/pam.d/rexec b/etc/pam.d/rexec
index 80ec222..fd04931 100644
--- a/etc/pam.d/rexec
+++ b/etc/pam.d/rexec
@@ -1,5 +1,5 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       required	/lib/security/pam_securetty.so
-auth       required	/lib/security/pam_stack.so service=system-auth
 auth       required	/lib/security/pam_nologin.so
-account    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
diff --git a/etc/pam.d/rlogin b/etc/pam.d/rlogin
index 49745f9..18ffaa4 100644
--- a/etc/pam.d/rlogin
+++ b/etc/pam.d/rlogin
@@ -1,8 +1,8 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       sufficient	/lib/security/pam_rhosts_auth.so
 auth       required	/lib/security/pam_securetty.so
-auth       required	/lib/security/pam_stack.so service=system-auth
 auth       required	/lib/security/pam_nologin.so
-account    required	/lib/security/pam_stack.so service=system-auth
-password   required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+password   include	system-auth
+session    include	system-auth
diff --git a/etc/pam.d/rsh b/etc/pam.d/rsh
index b9c2899..fe6d531 100644
--- a/etc/pam.d/rsh
+++ b/etc/pam.d/rsh
@@ -1,5 +1,5 @@
 #%PAM-1.0
 auth       required	/lib/security/pam_rhosts_auth.so
 auth       required	/lib/security/pam_nologin.so
-account    required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+session    include	system-auth
diff --git a/etc/pam.d/su b/etc/pam.d/su
index 70f8c95..c1b8492 100644
--- a/etc/pam.d/su
+++ b/etc/pam.d/su
@@ -1,11 +1,11 @@
 #%PAM-1.0
+auth       include	system-auth
 auth       sufficient   /lib/security/pam_rootok.so
 # Uncomment the following line to implicitly trust users in the "wheel" group.
 #auth       sufficient   /lib/security/pam_wheel.so trust use_uid
 # Uncomment the following line to require a user to be in the "wheel" group.
 #auth       required     /lib/security/pam_wheel.so use_uid
-auth       required	/lib/security/pam_stack.so service=system-auth
-account    required	/lib/security/pam_stack.so service=system-auth
-password   required	/lib/security/pam_stack.so service=system-auth
-session    required	/lib/security/pam_stack.so service=system-auth
+account    include	system-auth
+password   include	system-auth
+session    include	system-auth
 session    optional	/lib/security/pam_xauth.so


More information about the eldk mailing list