nsswitch.conf.5: Mention subid database

This commit is contained in:
Nikola Forró 2022-08-23 17:13:15 +02:00
parent fe8a27634a
commit fa16e92113
2 changed files with 51 additions and 1 deletions

View File

@ -0,0 +1,43 @@
From e2e1ac46cfc92f929f9d80e00678a6d44c9c40f9 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 2a93b7d..fcedc75 100644
--- a/man5/nsswitch.conf.5
+++ b/man5/nsswitch.conf.5
@@ -110,6 +110,14 @@ 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

View File

@ -4,7 +4,7 @@
Summary: Linux kernel and C library user-space interface documentation
Name: man-pages
Version: 5.13
Release: 4%{?dist}
Release: 5%{?dist}
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only
URL: http://www.kernel.org/doc/man-pages/
Source: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
@ -34,6 +34,9 @@ BuildArch: noarch
# https://bugzilla.kernel.org/show_bug.cgi?id=53781
Patch21: man-pages-3.42-close.patch
# https://lore.kernel.org/linux-man/920642e4bc7b60c19962187b266dfc0ee4ac7f27.camel@redhat.com/
Patch22: man-pages-5.13-subid.patch
%description
A large collection of manual pages from the Linux Documentation Project (LDP).
@ -41,6 +44,7 @@ A large collection of manual pages from the Linux Documentation Project (LDP).
%setup -q -a 1
%patch21 -p1
%patch22 -p1
## Remove man pages we are not going to use ##
@ -96,6 +100,9 @@ fi
%{_mandir}/man*/*
%changelog
* Tue Aug 23 2022 Nikola Forró <nforro@redhat.com> - 5.13-5
- nsswitch.conf.5: Mention subid database
* Tue Aug 09 2022 Nikola Forró <nforro@redhat.com> - 5.13-4
- Remove POSIX man pages due to disallowed license
resolves: #2116859