chiark / gitweb /
factory: PAM - add generic fallback config
authorKay Sievers <kay@vrfy.org>
Sun, 27 Jul 2014 12:08:11 +0000 (14:08 +0200)
committerKay Sievers <kay@vrfy.org>
Sun, 27 Jul 2014 12:34:19 +0000 (14:34 +0200)
Single PAM fallback config file to be used in /etc to allow
bootstrapping of a system with an empty /etc.

factory/etc/pam.d/other [new file with mode: 0644]

diff --git a/factory/etc/pam.d/other b/factory/etc/pam.d/other
new file mode 100644 (file)
index 0000000..5b1a81f
--- /dev/null
@@ -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