ypcat(1) General Commands Manual ypcat(1)NAME
ypcat - print values from an Network Information Service (NIS) data base
SYNOPSIS
ypcat [-k] [-t] [-d domainname] mname
ypcat -x
OPTIONS
Displays information on the domain specified by domainname. Displays keys for maps in which values are null or key is not part of the
value. Inhibits 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. Displays map nickname table. This lists the nicknames (mnames) the command knows of, and
indicates the mapname associated with each nickname.
DESCRIPTION
The ypcat command prints values stored in an NIS map specified by mname, which may be either a mapname or a map nickname.
To look at the network-wide password database, passwd.byname, with the nickname passwd, type: ypcat passwd
SEE ALSO domainname(1), ypmatch(1), ypfiles(4), ypserv(8)ypcat(1)
Check Out this Related Man Page
ypcat(1) User Commands ypcat(1)NAME
ypcat - print values in a NIS database
SYNOPSIS
ypcat [-kx] [-d ypdomain] mname
DESCRIPTION
The ypcat command prints out values in the NIS name service map specified by mname, which may be either a map name or a map nickname. Since
ypcat uses the NIS network services, no NIS server is specified.
Refer to ypfiles(4) for an overview of the NIS name 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.
-d ypdomain Specify a domain other than the default domain.
-x Display map nicknames.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------------------------------------+
|ATTRIBUTE TYPE ATTRIBUTE VALUE |
|Availability SUNWnisu |
+-----------------------------------------------------------+
SEE ALSO ypmatch(1), ypfiles(4), attributes(5)SunOS 5.11 23 Jan 1995 ypcat(1)
:eek: hi all,
I have a NIS trouble on a server.
when I create a file on a server (server1), the group of this file is the number of the group and not its name.
when I create a file with this group on another server which depends of another NIS slave, the file is created with the group name.... (10 Replies)
Hello,
We can get the full info by typing:
ypmatch username passwd
aaaa : yyyy: ... ... : LastName Gname : ... ...
However, I'd like to know how could we get the username based on LastName and Given name please?
Thanks a lot,
ly (3 Replies)
Hi
I am moving from shell scripting part to network shell scripting.
Can some one give me basic idea for all network related commands like
ypmatch,ypcat,NIS etc...
Documentation wiil be highly appreciated (1 Reply)
When i run the following command on our server
ypcat group
or
ypcat passwd
I get list of groups and users respectively.
I am not sure whether this list is only for the groups or users on the particular server on which i executed the command or all the groups and users on all the servers in... (2 Replies)
Hi,
I have a Solaris 10 machine and trying to connect it to a Linux NIS Server. Up till now I have set up NIS so that it does find the NIS server and gets the user list.
Automounter also mounts some directories from an NFS server.
However, I can't get it to map the shadow passwords (they... (4 Replies)
When I try to get ipnodes it says "no such map in server's NIS domain"
but for other maps its working.
Then my query is if map is not there why it shows the entry when I "ypcat -x"
adroit:/home/seo/hitendra 37 ] ypcat -x
Use "passwd" for map "passwd.byname"
Use "group" for map... (1 Reply)