Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NIS question

Status
Not open for further replies.

cspilman

MIS
Nov 17, 2000
307
US
I have a NIS master with an unknown number of NIS clients. What command (if any) can I issue on the NIS master to find out how many and what NIS clients I have on my domain?

Is there an equivilent to 'ypwhich', but that will give the clients as opposed to the NIS master?
Regards,
Chuck
 
All the clients should be in /etc/netgroup. Too bad I.T. is not cash business

Luc Foata
Unix sysadmin, Oracle DBA
 
I do not have an /etc/netgroup file. Any other suggestions? Regards,
Chuck
 
look in nis itself!
you should have a table.
i use NIS+ and don't remember the syntax to list all tables
my be yp[match|cat] -m ???
vox clamantis in deserto.
 
I can do a 'ypcat hosts.byname' which I thought would give me the correct information but if that is the command I would use, it is incomplete because the list that is displayed by issuing that is missing a few clients that I know for sure are using this NIS server.

I can also issue 'ypcat hosts.byaddr' and get similar output.

What am I missing here? Regards,
Chuck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top