From 19f4f86bfed21c5326ed2acebe1163f3a83e832b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 04:25:50 +0200 Subject: Adding upstream version 241. Signed-off-by: Daniel Baumann --- factory/etc/nsswitch.conf | 15 +++++++++++++++ factory/etc/pam.d/other | 6 ++++++ factory/etc/pam.d/system-auth | 12 ++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 factory/etc/nsswitch.conf create mode 100644 factory/etc/pam.d/other create mode 100644 factory/etc/pam.d/system-auth (limited to 'factory') 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 -- cgit v1.2.3