The UNIX and Linux Forums

The UNIX and Linux Forums (http://www.unix.com/index.php)
-   Shell Programming and Scripting (http://www.unix.com/shell-programming-and-scripting/)
-   -   ypcat group, ypcat passwd (http://www.unix.com/shell-programming-and-scripting/106994-ypcat-group-ypcat-passwd.html)

pinnacle 04-11-2009 03:52 PM

ypcat group, ypcat passwd
 
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 the corporate.

And i also see /etc/group and /etc/passwd on server

Appreciate your response.

TonyFullerMalv 04-11-2009 04:49 PM

This should list all the users and groups in the NIS domain, (run domainname(1m) to find out what it is called) all NIS clients in that domain should list the same users and groups. Running ypwhich(1) will tell you the name of the NIS master server.

pinnacle 04-11-2009 04:56 PM

Quote:

Originally Posted by TonyFullerMalv (Post 302306213)
This should list all the users and groups in the NIS domain, (run domainname(1m) to find out what it is called) all NIS clients in that domain should list the same users and groups. Running ypwhich(1) will tell you the name of the NIS master server.


Thanks for the reply.
I will try this on monday and let you know.

Appreciate your response.


All times are GMT -4. The time now is 03:52 PM.

Linux and Unix Supported by: vBulletin
Search Engine Optimisation provided by DragonByte SEO v1.1.4 (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
The UNIX and Linux Forums Content Copyright ©1993-2013. All Rights Reserved.
Forum Operations by The UNIX and Linux Forums