[OE-core] [PATCH 1/9] pam.d: added system-auth configuration file

Valentin Popa valentin.popa at intel.com
Tue Jul 15 08:00:44 UTC 2014


Needed by systemd when it starts user sessions.

Signed-off-by: Valentin Popa <valentin.popa at intel.com>
---
 meta/recipes-extended/pam/libpam/pam.d/system-auth | 7 +++++++
 meta/recipes-extended/pam/libpam_1.1.6.bb          | 1 +
 2 files changed, 8 insertions(+)
 create mode 100644 meta/recipes-extended/pam/libpam/pam.d/system-auth

diff --git a/meta/recipes-extended/pam/libpam/pam.d/system-auth b/meta/recipes-extended/pam/libpam/pam.d/system-auth
new file mode 100644
index 0000000..3275288
--- /dev/null
+++ b/meta/recipes-extended/pam/libpam/pam.d/system-auth
@@ -0,0 +1,7 @@
+auth        required      pam_env.so
+auth        sufficient    pam_unix.so try_first_pass nullok
+auth        required      pam_deny.so
+
+account     required      pam_unix.so
+
+session required pam_systemd.so
\ No newline at end of file
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 3190aaf..231a76f 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -16,6 +16,7 @@ SRC_URI = "http://linux-pam.org/library/Linux-PAM-${PV}.tar.bz2 \
            file://pam.d/common-password \
            file://pam.d/common-session \
            file://pam.d/common-session-noninteractive \
+           file://pam.d/system-auth \
            file://pam.d/other \
            file://libpam-xtests.patch \
            file://destdirfix.patch \
-- 
1.9.1




More information about the Openembedded-core mailing list