YPCAT(1) YPCAT(1)
ypcat - print values in NIS databases
ypcat [ -k ] [ -t ] [ -d domainname ] mname
ypcat -x
ypcat prints out values in the network information service (NIS) map
specified by mname, which may be either a mapname or a map nickname.
ypcat uses the current NIS server to obtain the information.
For example, to display the network-wide password database,
passwd.byname, (with the nickname passwd), type:
ypcat passwd
Refer to ypfiles(4) and nis(1M) for an overview of NIS.
-k Display the keys for those maps in which the values are null or the
key is not part of the value. (None of the maps derived from files
that have an ASCII version in /etc fall into this class.)
-t Inhibit translation of mname to mapname. For example, ypcat -t
passwd will fail because there is no map named passwd, whereas ypcat
passwd will be translated to ypcat passwd.byname.
-d Specify a domain other that the default domain. The default domain
is returned by domainname.
-x Display the map nickname table. This lists the nicknames ( mnames )
the command knows of, and indicates the mapname associated with each
nickname. Use ypwhich -m to list all the map names.
domainname(1), ypmatch(1), ypwhich(1), ypfiles(4), nis(1M)
PPPPaaaaggggeeee 1111 [ Back ]
|