aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam/pam.d/system-auth
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2014-10-30 16:43:41 +0800
committerChen Qi <Qi.Chen@windriver.com>2014-10-30 17:00:20 +0800
commit33a3b945ec946aa6f0fba68afe7242c3cf8c0fc9 (patch)
tree19fc3584b5e4e3a97ca049d06770ffe1ddde10bb /meta/recipes-extended/pam/libpam/pam.d/system-auth
parent4143f3b0ce0d0c52f5b0babc1bb16ac0ac9610eb (diff)
downloadopenembedded-core-contrib-ChenQi/libpam-systemd.tar.gz
libpam: add system-auth in case of systemdChenQi/libpam-systemd
systemd needs this file to be there because one of its configuration file in pam.d, systemd-user, requires it. Otherwise, we would have errors like below. systemd: PAM _pam_load_conf_file: unable to open /etc/pam.d/system-auth Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Diffstat (limited to 'meta/recipes-extended/pam/libpam/pam.d/system-auth')
-rw-r--r--meta/recipes-extended/pam/libpam/pam.d/system-auth12
1 files changed, 12 insertions, 0 deletions
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 0000000000..ffb08ab92f
--- /dev/null
+++ b/meta/recipes-extended/pam/libpam/pam.d/system-auth
@@ -0,0 +1,12 @@
+# This file comes from systemd.
+
+auth sufficient pam_unix.so nullok try_first_pass
+
+account required pam_nologin.so
+account sufficient pam_unix.so
+
+password sufficient pam_unix.so nullok sha512 shadow try_first_pass try_authtok
+
+-session optional pam_loginuid.so
+-session optional pam_systemd.so
+session sufficient pam_unix.so