aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'factory')
-rw-r--r--factory/etc/pam.d/other15
-rw-r--r--factory/etc/pam.d/system-auth13
2 files changed, 17 insertions, 11 deletions
diff --git a/factory/etc/pam.d/other b/factory/etc/pam.d/other
index 5b1a81f59..c1f729659 100644
--- a/factory/etc/pam.d/other
+++ b/factory/etc/pam.d/other
@@ -1,13 +1,6 @@
# This file is part of 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 required pam_limits.so
-session sufficient pam_unix.so
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/factory/etc/pam.d/system-auth b/factory/etc/pam.d/system-auth
new file mode 100644
index 000000000..5b1a81f59
--- /dev/null
+++ b/factory/etc/pam.d/system-auth
@@ -0,0 +1,13 @@
+# This file is part of 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 required pam_limits.so
+session sufficient pam_unix.so