ypcat(1yp)ypcat(1yp)Name
ypcat - print values from a YP data base
Syntax
ypcat [-k] [-t] [-d domainname] mname
ypcat -x
Description
The command prints values stored in a yellow pages (YP) 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
Options-d domainname
Displays information on the domain specified by domainname.
-k Displays keys for maps in which values are null or key is not part of the value.
-t 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.
-x Displays map nickname table. This lists the nicknames (mnames) the command knows of, and indicates the mapname associated with each
nickname.
See Alsodomainname(1yp), ypmatch(1yp), ypfiles(5yp), ypserv(8yp)ypcat(1yp)
Check Out this Related Man Page
ypcat(1) General Commands Manual ypcat(1)NAME
ypcat - print values of all keys in a NIS database
SYNOPSYS
ypcat [ -kt ] [ -d domain ] [ -h hostname ] mapname
ypcat -x
DESCRIPTION
ypcat prints the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname.
OPTIONS -d domain
Specify a domain other than the default domain as returned by domainname(1).
-h hostname
Specify a hostname other than the default one as found by ypbind(8).
-k Display map keys. This option is useful with maps in which the values are null or the key is not part of the value.
-t This option inhibits map nickname translation.
-x Display the map nickname translation table.
FILES
/var/yp/nicknames
map nickname translation table.
SEE ALSO domainname(8), nicknames(5), ypbind(8), ypmatch(1), yppoll(8), ypserv(8), ypset(8), ypwhich(1)AUTHOR
ypcat is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>.
YP Tools 2.9 December 2001 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)