Patchwork [1/9] pam.d: added system-auth configuration file

login
register
mail settings
Submitter Valentin Popa
Date July 15, 2014, 8 a.m.
Message ID <1405411250-10594-1-git-send-email-valentin.popa@intel.com>
Download mbox | patch
Permalink /patch/75509/
State New
Headers show

Comments

Valentin Popa - July 15, 2014, 8 a.m.
Needed by systemd when it starts user sessions.

Signed-off-by: Valentin Popa <valentin.popa@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

Patch

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 \