YPCAT(1) BSD General Commands Manual YPCAT(1)NAME
ypcat -- print the values of all keys in a YP database
SYNOPSIS
ypcat [-kt] [-d domainname] mapname
ypcat -x
DESCRIPTION
The ypcat utility prints out the values of all keys from the YP database specified by mapname, which may be a map name or a map nickname.
The options are as follows:
-d domainname
Specify a domain other than the default domain.
-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 Inhibit translation of map nicknames to their corresponding map names.
-x Display the map nickname table.
SEE ALSO domainname(1), ypmatch(1), yp(8), ypbind(8), ypset(8)AUTHORS
Theo De Raadt <deraadt@theos.com>.
BSD December 3, 1993 BSD
Check Out this Related Man Page
YPCAT(1) BSD General Commands Manual YPCAT(1)NAME
ypcat -- print the values of all keys in a NIS database
SYNOPSIS
ypcat [-kst] [-d domainname] mapname
ypcat -x
DESCRIPTION
ypcat prints out the values of all keys from the NIS database specified by mapname, which may be a map name or a map nickname.
The options are as follows:
-d domainname
Specify a domain other than the default domain.
-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.
-s When printing the value of a key, compress all whitespace characters to a single space. Useful when values contain newlines.
-t Inhibit translation of map nicknames to their corresponding map names.
-x Display the map nickname table, found in /var/yp/nicknames. A built-in default translation table is used if /var/yp/nicknames does
not exist (see nicknames(5) for details).
SEE ALSO domainname(1), ypmatch(1), ypwhich(1), nicknames(5), nis(8), ypbind(8), yppoll(8), ypset(8)AUTHORS
Theo De Raadt
Greywolf
BSD January 12, 2011 BSD
: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)