From b750101eb236130cf056c675997decbac904cc49 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:35:18 +0200 Subject: Adding upstream version 252.22. Signed-off-by: Daniel Baumann --- factory/etc/issue | 3 +++ factory/etc/nsswitch.conf | 16 ++++++++++++++++ factory/etc/pam.d/other | 6 ++++++ factory/etc/pam.d/system-auth | 23 +++++++++++++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 factory/etc/issue 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/etc') diff --git a/factory/etc/issue b/factory/etc/issue new file mode 100644 index 0000000..101671f --- /dev/null +++ b/factory/etc/issue @@ -0,0 +1,3 @@ +\S +Kernel \r on an \m (\l) + diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf new file mode 100644 index 0000000..acfa847 --- /dev/null +++ b/factory/etc/nsswitch.conf @@ -0,0 +1,16 @@ +# This file is part of systemd. + +passwd: compat systemd +group: compat [SUCCESS=merge] systemd +shadow: compat systemd +gshadow: files systemd + +hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns +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..cb4e570 --- /dev/null +++ b/factory/etc/pam.d/system-auth @@ -0,0 +1,23 @@ +# This file is part of systemd. + +# You really want to adjust this to your local distribution. If you use this +# unmodified you are not building systems safely and securely. + +auth sufficient pam_unix.so +-auth sufficient pam_systemd_home.so +auth required pam_deny.so + +account required pam_nologin.so +-account sufficient pam_systemd_home.so +account sufficient pam_unix.so +account required pam_permit.so + +-password sufficient pam_systemd_home.so +password sufficient pam_unix.so sha512 shadow try_first_pass +password required pam_deny.so + +-session optional pam_keyinit.so revoke +-session optional pam_loginuid.so +-session optional pam_systemd_home.so +-session optional pam_systemd.so +session required pam_unix.so -- cgit v1.2.3