summaryrefslogtreecommitdiffstats
path: root/factory
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-09-20 11:50:20 +0200
committerLennart Poettering <lennart@poettering.net>2023-09-20 15:17:52 +0200
commit02e9308751b25aca5f479c6e69ed5942cef4428b (patch)
tree2ccf9a572ba16915ec7f43725eb6bac68a156e35 /factory
parentMerge pull request #29092 from yuwata/sd-dhcp-server-use-usec (diff)
downloadsystemd-02e9308751b25aca5f479c6e69ed5942cef4428b.tar.xz
systemd-02e9308751b25aca5f479c6e69ed5942cef4428b.zip
docs: excorcise NIS from nsswitch.conf
Let's replace the "compat" module in our proposed nsswitch.conf configuration with "files", since it is not 1995 anymore. Fedora and other distros have deprecated and removed NIS support a while back. While others still retain some support I am not sure we should advertise it in our examples. Downstream can of course still use "compat" instead of "files" if they want to, but let's not confuse people who don't care about NIS anymore with this. Also, bring the nsswitch.conf snippet in README in line with what our man pages say. Also see: https://fedoraproject.org/wiki/Changes/retire_NIS_user_space_utils
Diffstat (limited to 'factory')
-rw-r--r--factory/etc/nsswitch.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/factory/etc/nsswitch.conf b/factory/etc/nsswitch.conf
index acfa8474d2..45a6820c5e 100644
--- a/factory/etc/nsswitch.conf
+++ b/factory/etc/nsswitch.conf
@@ -1,8 +1,8 @@
# This file is part of systemd.
-passwd: compat systemd
-group: compat [SUCCESS=merge] systemd
-shadow: compat systemd
+passwd: files systemd
+group: files [SUCCESS=merge] systemd
+shadow: files systemd
gshadow: files systemd
hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns