Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ypwhich(1) [debian 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.9 May 1998 ypwhich(1)

Check Out this Related Man Page

ypwhich(1)                                                         User Commands                                                        ypwhich(1)

NAME
ypwhich - return name of NIS server or map master SYNOPSIS
ypwhich [-d domain] [ [-t] -m [mname] | [-Vn] hostname] ypwhich -x DESCRIPTION
ypwhich returns the name of the NIS server that supplies the NIS name 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. Refer to ypfiles(4) for an overview of the NIS name services. OPTIONS
-d domain Use domain instead of 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 -m. mname can be a mapname, or a nickname for a map. When mname is omitted, produce a list of available maps. -x Display the map nickname translation table. -Vn Version of ypbind, V3 is default. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnisu | +-----------------------------+-----------------------------+ SEE ALSO
ypfiles(4), attributes(5) SunOS 5.10 7 Apr 1995 ypwhich(1)
Man Page

12 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. 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

3. 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

4. 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

5. 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

6. 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

7. Red Hat

NIS problem

Hello Everyone! When my NIS clients sync to the master server they have a problem with only the group maps. Upon executing "ypcat group" on the client, just one entry displayed for groups. That entry corresponds to the local group account (/etc/group) on the master. This particular group... (0 Replies)
Discussion started by: pingmeback
0 Replies

8. UNIX for Advanced & Expert Users

NIS-to-LDAP translation tools (yp2ldap)

I've recently published a set of tools that allow you to continue to use the ypwhich, ypcat and ypmatch tools in an environment where NIS maps have been migrated to LDAP using the RFC2307 schema. Traditionally in such an environment, only the NSS functionality is LDAP-enabled, meaning that... (0 Replies)
Discussion started by: cambridge
0 Replies

9. 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

10. 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

11. 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

12. 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