summaryrefslogtreecommitdiffstats
path: root/man/nss-myhostname.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-05 16:11:26 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-08 14:35:28 +0200
commitf43a19ecd6e3415ec223f245204b4eaaff739af4 (patch)
tree81745ffa658dd9ec54081488c7e090c65f1702a4 /man/nss-myhostname.xml
parentnss-systemd: set USERDB_SUPPRESS_SHADOW flag when looking up user records (diff)
downloadsystemd-f43a19ecd6e3415ec223f245204b4eaaff739af4.tar.xz
systemd-f43a19ecd6e3415ec223f245204b4eaaff739af4.zip
nss-systemd: synthesize NSS shadow/gshadow records from userdb, as well
This ensures we not only synthesize regular paswd/group records of userdb records, but shadow records as well. This should make sure that userdb can be used as comprehensive superset of the classic passwd/group/shadow/gshadow functionality.
Diffstat (limited to 'man/nss-myhostname.xml')
-rw-r--r--man/nss-myhostname.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/nss-myhostname.xml b/man/nss-myhostname.xml
index 8a603fb9ce..98eb0ec77e 100644
--- a/man/nss-myhostname.xml
+++ b/man/nss-myhostname.xml
@@ -91,7 +91,9 @@
<!-- synchronize with other nss-* man pages and factory/etc/nsswitch.conf -->
<programlisting>passwd: compat systemd
group: compat [SUCCESS=merge] systemd
-shadow: compat
+shadow: compat systemd
+gshadow: files systemd
+
# Either (untrusted network, see above):
hosts: mymachines resolve [!UNAVAIL=return] files <command>myhostname</command> dns