Print this page
re #11781 rb3701 Update man related tools (add missed files)
re #11781 rb3701 Update man related tools
--HG--
rename : usr/src/cmd/man/src/THIRDPARTYLICENSE => usr/src/cmd/man/THIRDPARTYLICENSE
rename : usr/src/cmd/man/src/THIRDPARTYLICENSE.descrip => usr/src/cmd/man/THIRDPARTYLICENSE.descrip
rename : usr/src/cmd/man/src/man.c => usr/src/cmd/man/man.c
re #11201 nss: need local netgroup implementation

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/getent.1m.man.txt
          +++ new/usr/src/man/man1m/getent.1m.man.txt
↓ open down ↓ 10 lines elided ↑ open up ↑
  11   11  
  12   12  DESCRIPTION
  13   13         getent gets a list of entries from the administrative database
  14   14         specified by database. The information generally comes from one or more
  15   15         of the sources that are specified for the database in
  16   16         /etc/nsswitch.conf.
  17   17  
  18   18  
  19   19         database is the name of the database to be examined. This can be
  20   20         passwd, shadow, group, hosts, ipnodes, services, protocols, ethers,
  21      -       project, networks, or netmasks. For each of these databases, getent
  22      -       uses the appropriate library routines described in getpwnam(3C),
       21 +       project, networks, netmasks, or netgroup.  For each of these databases,
       22 +       getent uses the appropriate library routines described in getpwnam(3C),
  23   23         getspnam(3C), getgrnam(3C), gethostbyaddr(3NSL), gethostbyname(3NSL),
  24   24         getipnodebyaddr(3SOCKET), getipnodebyname(3SOCKET),
  25   25         getservbyname(3SOCKET), getprotobyname(3SOCKET), ethers(3SOCKET),
  26      -       getprojbyname(3PROJECT) and getnetbyname(3SOCKET), respectively.
       26 +       getprojbyname(3PROJECT), getnetbyname(3SOCKET), or getnetgrent(3C)
       27 +       respectively.
  27   28  
  28   29  
  29   30         Each key must be in a format appropriate for searching on the
  30   31         respective database. For example, it can be a username or numeric-uid
  31   32         for passwd; hostname or IP address for hosts; or service,
  32   33         service/protocol, port, or port/proto for services.
  33   34  
  34   35  
  35   36         getent prints out the database entries that match each of the supplied
  36   37         keys, one per line, in the format of the matching administrative file:
↓ open down ↓ 110 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX