Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypwhich(1) [redhat man page]

ypwhich(1)						      General Commands Manual							ypwhich(1)

NAME
ypwhich - return name of NIS server or map master SYNOPSYS
ypwhich [ -d domain ] [ -Vn ] [ hostname ] ypwhich [ -d domain ] [ -t ] -m [ mname ] ypwhich -x DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS services to a NIS client, or which is the master for a map. If invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS master it is using. OPTIONS
-d domain Specify a domain other than the default domain. -t This option inhibits map nickname translation. -m mname Find the master NIS server for a map. No hostname can be specified with the -m option. mname can be a mapname or nickname for a map. If mname is omitted, ypwhich will produce a list of available maps. -x Display the map nickname translation table. -Vn Version of ypbind(8), V2 is default. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypserv(8), yset(8) AUTHOR
ypwhich is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@suse.de>. YP Tools 2.7 May 1998 ypwhich(1)

Check Out this Related Man Page

ypwhich(1)						      General Commands Manual							ypwhich(1)

NAME
ypwhich - return name of NIS server or map master SYNOPSIS
ypwhich [ -d domain ] [ -Vn ] [ hostname ] ypwhich [ -d domain ] [ -t ] -m [ mname ] ypwhich -x DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS services to a NIS client, or which is the master for a map. If invoked without arguments, it gives the NIS server for the local machine. If hostname is specified, that machine is queried to find out which NIS master it is using. OPTIONS
-d domain Specify a domain other than the default domain. -t This option inhibits map nickname translation. -m mname Find the master NIS server for a map. No hostname can be specified with the -m option. mname can be a mapname or nickname for a map. If mname is omitted, ypwhich will produce a list of available maps. -x Display the map nickname translation table. -Vn Version of ypbind(8), V2 is default. FILES
/var/yp/nicknames map nickname translation table. SEE ALSO
domainname(8), nicknames(5), ypbind(8), ypcat(1), ypmatch(1), yppoll(8), ypserv(8), ypset(8) AUTHOR
ypwhich is part of the yp-tools package, which was written by Thorsten Kukuk <kukuk@linux-nis.org>. YP Tools 2.14 April 2010 ypwhich(1)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NIS trouble

: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)
Discussion started by: farzolito
10 Replies

2. AIX

NIS and automounter...

Have an AIX 5.2 box. I had automounter already setup to control /home using /etc/auto_home as an indirect automount map. Then we added NIS. We have it working, but for some reason, the NIS table auto.home seems to override /etc/auto_home entries. Of course, there are some duplicates... (2 Replies)
Discussion started by: Garry_Garrett
2 Replies

3. Post Here to Contact Site Administrators and Moderators

changing my nickname

Hello, is it possible to change my nickname? Thank you. (4 Replies)
Discussion started by: Bashar
4 Replies

4. UNIX for Advanced & Expert Users

NIS master / slave problems

Our NIS master server went down. We have since fixed it and brought it back up. However all of are machines still point to the slave server when looking at it with ypwhich. My question is how do i point the servers back to the master. Frank (2 Replies)
Discussion started by: frankkahle
2 Replies

5. Solaris

RPC failure on yp operation

Hi....I just changed the hostnname on some of my servers.., changing the NIS master hostname first... I was able to bring the NIS master back up but when I tried to si - to a different group of users, I got the following error message: RPC failure on yp operation Anyone knows what else I... (1 Reply)
Discussion started by: Remi
1 Replies

6. UNIX for Advanced & Expert Users

NIS server setup on redhat 4 AS4

Please do reply if anyone has done NIS server setup on redhat Please let me know steps to do NIS server configuration on redhat & NIS client configuration on suse (2 Replies)
Discussion started by: timus1980
2 Replies

7. Solaris

NIS Client issues

Hey All! Today I am getting an error with my NIS client From what I understand, my server is running properly... on my client side.. online 2:01:12 svc:/network/nis/client:default # ps -ef |grep ypbind root 2745 1 0 02:01:12 ? 0:00... (12 Replies)
Discussion started by: Keepcase
12 Replies

8. Linux

Names/nicknames for certain punctuation

(0 Replies)
Discussion started by: SilversleevesX
0 Replies

9. UNIX for Dummies Questions & Answers

My domain name as my IRC hostname?

When I connect to any IRC server, it's usually my ISP IP address/hostname. I own a domain, but I'm not using it for anything (no web hosting service or server). Is it possible for me to use my domain as my IRC hostname instead of my regular ISP hostname? (0 Replies)
Discussion started by: guitarscn
0 Replies

10. UNIX for Dummies Questions & Answers

Help with NIS client

Hi All, I have a new server on the network, I did configure the NIS. ypwhich is working and ypcat all are working. But when I log in as me, home directory is not coming up. I looked at other servers we have at work to see what's under /etc/fstab. I don't see anything for home directory. ... (3 Replies)
Discussion started by: samnyc
3 Replies

11. UNIX for Dummies Questions & Answers

NIS error

Hi, when I do ypwhich -m, I get this error message. # ypwhich -m |more Can't find master for map ethers.byaddr. Reason: Internal NIS error Can't find master for map old. Reason: Internal NIS error Can't find master for map rpc.bynumber. Reason: Internal NIS error Can't find master... (2 Replies)
Discussion started by: samnyc
2 Replies

12. UNIX for Dummies Questions & Answers

NIS stop working... pls. help.

I am on the NIS client server. when I do ypwhich. I get this err.msg. > ypwhich Domain feed.oca.ipx.com not bound on svrnyP1 Any idea. I am able to ping the NIS master server. On the /var/adm/messages. I see this... Oct 16 12:52:36 svrnyP1 ypbind: NIS server not... (2 Replies)
Discussion started by: samnyc
2 Replies

13. AIX

NIM Master hostname

hi Admins, How can I check the NIM master hostname/IP name from NIM client ? I don't see any option that I can try with nimclient command. Let me know.. Thanks, (5 Replies)
Discussion started by: snchaudhari2
5 Replies

14. IP Networking

Can't get work a domain

Hello, I'm unable to load my site domain2.com, I don't know what I've done wrong. 1) I set up hostname in the server, ns1.domain.com 2) I created a ns1.domain.com A record in CloudFlare domain.com account and pointed it to the server IP 3) I pointed the domain (domain2.com) to... (0 Replies)
Discussion started by: cloferba
0 Replies