summaryrefslogtreecommitdiffstats
path: root/README
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 /README
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 'README')
-rw-r--r--README13
1 files changed, 7 insertions, 6 deletions
diff --git a/README b/README
index 8e4d967056..a273846a1a 100644
--- a/README
+++ b/README
@@ -383,15 +383,16 @@ GLIBC NSS:
DynamicUser= setting in unit files.)
To make use of these NSS modules, please add them to the "hosts:",
- "passwd:" and "group:" lines in /etc/nsswitch.conf. The "resolve" module
- should replace the glibc "dns" module in this file (and don't worry, it
- chain-loads the "dns" module if it can't talk to resolved).
+ "passwd:", "group:", "shadow:" and "gshadow:" lines in
+ /etc/nsswitch.conf.
The four modules should be used in the following order:
- passwd: compat systemd
- group: compat systemd
- hosts: files mymachines resolve [!UNAVAIL=return] dns myhostname
+ passwd: files systemd
+ group: files [SUCCESS=merge] systemd
+ shadow: files systemd
+ gshadow: files systemd
+ hosts: mymachines resolve [!UNAVAIL=return] files myhostname dns
SYSV INIT.D SCRIPTS:
When calling "systemctl enable/disable/is-enabled" on a unit which is a