YPCAT(1-SysV) RISC/os Reference Manual YPCAT(1-SysV)
NAME
ypcat - print values in a NIS data base
SYNOPSIS
ypcat [ -kt ] [ -d domainname ] mname
ypcat -x
DESCRIPTION
ypcat prints out values in a Network Information Service
(NIS) map specified by mname, which may be either a map name
or a map nickname. Since ypcat uses the NIS network ser-
vices, no NIS server is specified.
To look at the network-wide password database, passwd.byname
(with the nickname passwd), type in:
ypcat passwd
Refer to ypfiles(4) and ypserv(1M) for an overview of the
Network Information Service.
OPTIONS
-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 map name. 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 domainname
Specify a domain other that the default domain. The
default domain is returned by domainname.
-x Display the map nickname table. This lists the nick-
names (mnames) the command knows of, and indicates the
mapname associated with each nickname.
SEE ALSO
domainname(1), ypmatch(1).
ypfiles(4) in the Programmer's Reference Manual.
ypserv(1M) in the System Administrator's Reference Manual.
ORIGIN
Sun Microsystems
Printed 1/15/91 Page 1