nss(5)


NAME

   nss - Name Service Switch configuration file

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.

   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.

   There are other modules where the implementation changed over time.  If
   an  implementation  used  to sacrifice speed for memory consumption, it
   might create problems if the preference is switched.

   The /etc/default/nss 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.

   The variables currently recognized are:

   NETID_AUTHORITATIVE = TRUE|FALSE
          If set to TRUE, the NIS backend for the  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 as is.  The system administrator has to make sure it
          is correctly generated.

   SERVICES_AUTHORITATIVE = TRUE|FALSE
          If  set  to  TRUE,  the NIS backend for the getservbyname(3) and
          getservbyname_r(3)    functions    will    assume    that    the
          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.

   SETENT_BATCH_READ = TRUE|FALSE
          If set  to  TRUE,  the  NIS  backend  for  the  setpwent(3)  and
          setgrent(3)  functions will read the entire database at once and
          then hand out the requests one by one  from  memory  with  every
          corresponding  getpwent(3)  or  getgrent(3)  call  respectively.
          Otherwise, each getpwent(3) or getgrent(3) call might result  in
          a network communication with the server to get the next entry.

FILES

   /etc/default/nss

EXAMPLE

   The  default  configuration  corresponds to the following configuration
   file:

   NETID_AUTHORITATIVE=FALSE
   SERVICES_AUTHORITATIVE=FALSE
   SETENT_BATCH_READ=FALSE

SEE ALSO

   nsswitch.conf

COLOPHON

   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at
   https://www.kernel.org/doc/man-pages/.





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.