Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

domainname(1)

ypmatch(1)

ypserv(8)

ypfiles(4)



  ypcat(1)                            CLIX                            ypcat(1)



  NAME

    ypcat - Displays values in a Network Information Service (NIS) database

  SYNOPSIS

    ypcat [-k] [-t] [-d domainname] mname

    ypcat -x

  FLAGS

    -k     Displays the keys for 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 are in this class.)

    -t     Inhibits translation of mname to the associated map name.  For
           example:

           ypcat -t passwd

           fails because no map is named passwd; whereas:

           ypcat passwd

           is translated to ypcat passwd.byname.

    -d domainname
           Specifies a domain other than the default.  The default domain is
           returned by domainname.

    -x     Displays the map nickname table.  This lists the nicknames (mnames)
           the command is familiar with and indicates the map name associated
           with each nickname.

  DESCRIPTION

    The ypcat command displays 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 service, no NIS server is specified.

    To look at the network-wide password database, passwd.byname, (with the
    nickname passwd) enter:

    ypcat passwd

    Refer to ypfiles(4) and ypserv(8) for an overview of the NIS network
    service.

  EXAMPLES



  2/94 - Intergraph Corporation                                              1






  ypcat(1)                            CLIX                            ypcat(1)



    1.  To display the contents of the passwd database for the default domain,
        enter:

        ypcat passwd


    2.  To display the content of the group database for a domain other than
        the default, enter:

        ypcat -d domain2 group


    3.  To display the map nickname table, enter:

        ypcat -x


  DIAGNOSTICS

    ypcat: the domainname hasn't been set on this machine.
           The domainname for this system has not been set.  This typically
           means ypinit has not been executed on this system.

  EXIT VALUES

    The ypcat command exits with a value of 0 if successful, or 1 if
    unsuccessful.

  RELATED INFORMATION

    Commands:  domainname(1), ypmatch(1), ypserv(8)

    Files:  ypfiles(4)





















  2                                              Intergraph Corporation - 2/94




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