Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ypcat(1) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

domainname(1)

ypmatch(1)

ypserv(1M)

ypfiles(4)




ypcat(1) ypcat(1)
NAME ypcat - list the contents of the named YP map SYNOPSIS ypcat [-k] [-t] [-d domainname] mname ypcat -x DESCRIPTION ypcat lists the contents of the yellow pages (YP) map speci- fied by mname, which may be either a mapname or a map ``nickname.'' Since ypcat uses the YP network services, no YP server is specified. Suppose you want to look at the system password file. Each machine has a file /etc/passwd, containing only a small amount of information. The network-wide password database is served by the YP, and holds information in a map named passwd.byname, whose abbreviated name is passwd. Thus, to see the system passwords, you type: ypcat passwd Here is a list of abbreviated mapnames, full mapnames, and corresponding system files: passwd pwd.nm /etc/passwd group grp.nm /etc/group hosts hst.ad /etc/hosts networks ntw.ad /etc/networks services svc.nm /etc/services protocols ptc.nr /etc/protocols netgroup netg /etc/netgroup Note: This implementation uses shorter abbreviated names than other implementations due to an 8 character filename limitation. Refer to ypfiles(4) and ypserv(1M) for an overview of the yellow pages. FLAG OPTIONS The following flag options are interpreted by ypcat: -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 April, 1990 1



ypcat(1) ypcat(1)
passwd, whereas ypcat passwd will be translated to yp- cat 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 nick- names (mnames) the command knows of, and indicates the mapname associated with each nickname. FILES /usr/bin/ypcat SEE ALSO domainname(1), ypmatch(1), ypserv(1M), ypfiles(4). ``Installing the Yellow Pages'' in A/UX Network System Ad- ministration. 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026