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
          +++ new/usr/src/man/man1m/getent.1m
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  .SH DESCRIPTION
  17   17  .sp
  18   18  .LP
  19   19  \fBgetent\fR gets a list of entries from the administrative database specified
  20   20  by \fIdatabase\fR. The information generally comes from one or more of the
  21   21  sources that are specified for the \fIdatabase\fR in \fB/etc/nsswitch.conf\fR.
  22   22  .sp
  23   23  .LP
  24   24  \fIdatabase\fR is the name of the database to be examined. This can be
  25   25  \fBpasswd\fR, \fBshadow\fR, \fBgroup\fR, \fBhosts\fR, \fBipnodes\fR, \fBservices\fR,
  26      -\fBprotocols\fR, \fBethers\fR, \fBproject\fR, \fBnetworks\fR, or
  27      -\fBnetmasks\fR. For each of these databases, \fBgetent\fR uses the appropriate
       26 +\fBprotocols\fR, \fBethers\fR, \fBproject\fR, \fBnetworks\fR,
       27 +\fBnetmasks\fR, or \fBnetgroup\fR.
       28 +For each of these databases, \fBgetent\fR uses the appropriate
  28   29  library routines described in \fBgetpwnam\fR(3C), \fBgetspnam\fR(3C), \fBgetgrnam\fR(3C),
  29   30  \fBgethostbyaddr\fR(3NSL), \fBgethostbyname\fR(3NSL),
  30   31  \fBgetipnodebyaddr\fR(3SOCKET), \fBgetipnodebyname\fR(3SOCKET),
  31   32  \fBgetservbyname\fR(3SOCKET), \fBgetprotobyname\fR(3SOCKET),
  32      -\fBethers\fR(3SOCKET), \fBgetprojbyname\fR(3PROJECT) and
  33      -\fBgetnetbyname\fR(3SOCKET), respectively.
       33 +\fBethers\fR(3SOCKET), \fBgetprojbyname\fR(3PROJECT),
       34 +\fBgetnetbyname\fR(3SOCKET), or \fBgetnetgrent\fR(3C) respectively.
  34   35  .sp
  35   36  .LP
  36   37  Each \fIkey\fR must be in a format appropriate for searching on the respective
  37   38  database. For example, it can be a \fIusername\fR or \fInumeric-uid\fR for
  38   39  \fBpasswd\fR; \fIhostname\fR or \fIIP\fR \fIaddress\fR for \fBhosts\fR; or
  39   40  \fIservice\fR, \fIservice/protocol\fR, \fIport\fR, or \fIport/proto\fR for
  40   41  \fBservices\fR.
  41   42  .sp
  42   43  .LP
  43   44  \fBgetent\fR prints out the database entries that match each of the supplied
↓ open down ↓ 200 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX