- add nss.5 man page (#192142)
- add the man-pages directories (#192998)
This commit is contained in:
parent
6f7f7e75bd
commit
ebaf5d1190
@ -1,7 +1,7 @@
|
||||
Summary: Man (manual) pages from the Linux Documentation Project.
|
||||
Name: man-pages
|
||||
Version: 2.32
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: distributable
|
||||
Group: Documentation
|
||||
Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.bz2
|
||||
@ -12,6 +12,7 @@ Source9: man2.tar.gz
|
||||
Source10: sln.8
|
||||
Source11: man2_sys.tar.gz
|
||||
Source12: gai.conf.5
|
||||
Source13: nss.5
|
||||
Patch1: man-pages-1.51-iconv.patch
|
||||
Patch2: man-pages-1.51-nopent.patch
|
||||
Patch3: man-pages-2.32-langinfo.patch
|
||||
@ -28,7 +29,6 @@ Patch23: man-pages-2.25-dbopen.patch
|
||||
Patch24: man-pages-2.25-malloc.patch
|
||||
Patch25: man-pages-2.29-sigprocmask.patch
|
||||
|
||||
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
||||
Autoreq: false
|
||||
BuildArch: noarch
|
||||
@ -45,6 +45,7 @@ cp -a %{SOURCE1} man1
|
||||
cp -a %{SOURCE2} man5
|
||||
cp -a %{SOURCE10} man8
|
||||
cp -a %{SOURCE12} man5
|
||||
cp -a %{SOURCE13} man5
|
||||
tar xzf %{SOURCE11}
|
||||
|
||||
%patch1 -p1
|
||||
@ -154,10 +155,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README man-pages-%{version}.Announce POSIX-COPYRIGHT
|
||||
%{_mandir}/man*
|
||||
%{_mandir}/man*/*
|
||||
%{_mandir}/en/man*
|
||||
%{_mandir}/en/man*/*
|
||||
|
||||
%changelog
|
||||
* Fri May 26 2006 Ivana Varekova <varekova@redhat.com> 2.32-2
|
||||
- add nss.5 man page (#192142)
|
||||
- add the man-pages directories (#192998)
|
||||
|
||||
* Mon May 15 2006 Ivana Varekova <varekova@redhat.com> 2.32-1
|
||||
- update to 2.32
|
||||
- add gai.conf.5 man page (#191656)
|
||||
|
109
nss.5
Normal file
109
nss.5
Normal file
@ -0,0 +1,109 @@
|
||||
.\" A man page for /etc/default/nss. -*- nroff -*-
|
||||
.\"
|
||||
.\" Copyright (C) 2006 Red Hat, Inc. All rights reserved.
|
||||
.\"
|
||||
.\" This copyrighted material is made available to anyone wishing to use,
|
||||
.\" modify, copy, or redistribute it subject to the terms and conditions of the
|
||||
.\" GNU General Public License v.2.
|
||||
.\"
|
||||
.\" This program is distributed in the hope that it will be useful, but WITHOUT
|
||||
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
.\" more details.
|
||||
.\"
|
||||
.\" You should have received a copy of the GNU General Public License along
|
||||
.\" with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
.\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
.\"
|
||||
.\" Author: Ulrich Drepper <drepper@redhat.com>
|
||||
.TH nss 5 "May 2006" nss
|
||||
|
||||
.SH NAME
|
||||
nss \- Name Service Switch configuration file
|
||||
|
||||
.SH DESCRIPTION
|
||||
Each call to a function which retrieves data from a system database
|
||||
like the password or group database is handled by the Name Service
|
||||
Switch implementation in the GNU C library. The various services
|
||||
provided are implemented by independent modules, each of which
|
||||
naturally varies widely from the other.
|
||||
.PP
|
||||
The default implementations coming with the GNU C library are by
|
||||
default conservative and do not use unsafe data. This might be
|
||||
very costly in some situations, especially when the databases
|
||||
are large. Some modules allow the system administrator to request
|
||||
taking shortcuts if these are known to be safe. It is then the
|
||||
system administrator's responsibility to ensure the assumption
|
||||
is correct.
|
||||
.PP
|
||||
There are other modules where the implementation changed over time.
|
||||
If an implementation used to sacrifize speed for memory consumption
|
||||
it might create problems if the preference is switched.
|
||||
.PP
|
||||
The \fI/etc/default/nss\fR file contains a number of variable
|
||||
assignments. Each variable controls the behavior of one or more
|
||||
NSS modules. White spaces are ignored. Lines beginning with `#'
|
||||
are treated as comments.
|
||||
.PP
|
||||
The variables currently recognized are:
|
||||
.TP
|
||||
\fBNETID_AUTHORITATIVE =\fR \fITRUE\fR|\fIFALSE\fR
|
||||
If set to TRUE, the NIS backend for the
|
||||
.BR initgroups (3)
|
||||
function will accept the information
|
||||
from the netid.byname NIS map as authoritative. This can speed up the
|
||||
function significantly if the group.byname map is large. The content
|
||||
of the netid.byname map is used \fBas is\fR. The system administrator has
|
||||
to make sure it is correctly generated.
|
||||
|
||||
.TP
|
||||
\fBSERVICES_AUTHORITATIVE =\fR \fITRUE\fR|\fIFALSE\fR
|
||||
If set to TRUE, the NIS backend for the
|
||||
.BR getservbyname (3)
|
||||
and
|
||||
.BR getservbyname_r (3)
|
||||
function will assume
|
||||
services.byservicename NIS map exists and is authoritative, particularly
|
||||
that it contains both keys with /proto and without /proto for both
|
||||
primary service names and service aliases. The system administrator
|
||||
has to make sure it is correctly generated.
|
||||
|
||||
.TP
|
||||
\fBSETENT_BATCH_READ =\fR \fITRUE\fR|\fIFALSE\fR
|
||||
If set to TRUE, the NIS backend for the
|
||||
.BR setpwent (3)
|
||||
and
|
||||
.BR setgrent (3)
|
||||
functions will read the entire
|
||||
database at once and then hand out the requests one by one from
|
||||
memory with every corresponding
|
||||
.BR getpwent (3)
|
||||
or
|
||||
.BR getgrent (3)
|
||||
call respectively. Otherwise each
|
||||
.BR getpwent (3)
|
||||
or
|
||||
.BR getgrent (3)
|
||||
call might result into a network communication with the server to get
|
||||
the next entry.
|
||||
|
||||
|
||||
.SH EXAMPLE
|
||||
|
||||
The default configuration corresponds to the
|
||||
following configuration file:
|
||||
|
||||
.nf
|
||||
NETID_AUTHORITATIVE=FALSE
|
||||
SERVICES_AUTHORITATIVE=FALSE
|
||||
SETENT_BATCH_READ=FALSE
|
||||
|
||||
|
||||
.SH FILES
|
||||
\fI/etc/default/nss\fR
|
||||
|
||||
.SH AUTHOR
|
||||
Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
.SH SEE ALSO
|
||||
\fInsswitch.conf\fR
|
Loading…
Reference in New Issue
Block a user