Blob Blame History Raw
From 02425d9113f378c746dff7d4510d28719e8e9255 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
Date: Fri, 22 Jul 2022 14:47:43 +0200
Subject: [PATCH] nsswitch.conf.5: Mention subid database
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

shadow-utils use nsswitch.conf for configuring delegation of subordinate
uids/gids.

Reference:
https://github.com/shadow-maint/shadow/blob/3ec32f9975f262073f8fbdecd2bfaee4a1d3db48/lib/nss.c

and subuid.5/subgid.5 man pages.

Signed-off-by: Nikola Forró <nforro@redhat.com>
---
 man5/nsswitch.conf.5 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/man5/nsswitch.conf.5 b/man5/nsswitch.conf.5
index f2eeb24..0d969c3 100644
--- a/man5/nsswitch.conf.5
+++ b/man5/nsswitch.conf.5
@@ -109,6 +109,14 @@ databases.  For example,
 consults the
 .B sudoers
 database.
+Delegation of subordinate user/group IDs
+can be configured using the
+.B subid
+database. Refer to
+.BR subuid (5)
+and
+.BR subgid (5)
+for more details.
 .PP
 Here is an example
 .I /etc/nsswitch.conf
-- 
2.35.3