summaryrefslogtreecommitdiffstats
path: root/factory
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--factory/etc/nsswitch.conf15
-rw-r--r--factory/etc/pam.d/other6
-rw-r--r--factory/etc/pam.d/system-auth12
3 files changed, 33 insertions, 0 deletions
diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
new file mode 100644
index 0000000..5470993
--- /dev/null
+++ b/factory/etc/nsswitch.conf
@@ -0,0 +1,15 @@
+# This file is part of systemd.
+
+passwd: compat mymachines systemd
+group: compat mymachines systemd
+shadow: compat
+
+hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
+networks: files
+
+protocols: db files
+services: db files
+ethers: db files
+rpc: db files
+
+netgroup: nis
diff --git a/factory/etc/pam.d/other b/factory/etc/pam.d/other
new file mode 100644
index 0000000..c1f7296
--- /dev/null
+++ b/factory/etc/pam.d/other
@@ -0,0 +1,6 @@
+# This file is part of systemd.
+
+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 0000000..dec7a8f
--- /dev/null
+++ b/factory/etc/pam.d/system-auth
@@ -0,0 +1,12 @@
+# 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 sufficient pam_unix.so