summaryrefslogtreecommitdiffstats
path: root/factory
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:25:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:25:50 +0000
commit19f4f86bfed21c5326ed2acebe1163f3a83e832b (patch)
treed59b9989ce55ed23693e80974d94c856f1c2c8b1 /factory
parentInitial commit. (diff)
downloadsystemd-upstream.tar.xz
systemd-upstream.zip
Adding upstream version 241.upstream/241upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'factory')
-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