Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine: The source for advanced Linux know-how

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 216 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

ypbind



SYNOPSIS

       ypbind  [  -c  ]  [  -d|-debug ] [ -broadcast ] [ -broken-
       server ] [ -ypset ] [ -ypsetme ] [ -no-ping ] [ -f config­
       file ]

       ypbind --version


DESCRIPTION

       ypbind  finds the server for NIS domains and maintains the
       NIS binding information. The client (normaly the NIS  rou­
       tines in the standard C library) could get the information
       over RPC from ypbind or read the binding files. The  bind­
       ing files resides in the directory /var/yp/binding and are
       conventionally  named  [domainname].[version].   The  sup­
       ported  versions are 1 and 2.  There could be several such
       files since it is possible for an NIS client to  be  bound
       to more then one domain.

       After  a  binding  has  been established, ypbind will send
       YPPROC_DOMAIN requests to the current  NIS  server  at  20
       seconds  intervals.  If  it doesn't get an response or the
       NIS server tells that  he  doesn't  has  this  domain  any
       longer,  ypbind  will search a new NIS server. All 15 min­
       utes ypbind will check, if the current NIS server  is  the
       fastest. If it find a server which answers faster, it will
       switch to this server.  You could tell ypbind to use  net­
       work broadcasts to find a new server, what is insecure, or
       you could give it a list of  known,  secure  servers.   In
       this  case ypbind will send a ping to all server and binds
       to first one which answers.

       Unless the option -debug is used, ypbind  detaches  itself
       from  the  controlling terminal and puts itself into back­
       ground.  ypbind uses for logging errors and warnings.   At
       startup or when receiving signal SIGHUP, ypbind parses the
       file /etc/yp.conf and tries to use  the  entries  for  its
       initial binding. Valid entries are

       domain nisdomain server hostname
              Use  server hostname for the domain nisdomain.  You
              could have more then one entry of this type  for  a
              single domain.

       domain nisdomain broadcast
              Use  broadcast  on  the local net for domain nisdo­
              main.

       ypserver hostname
              Use server server for the local domain.

       A broadcast entry in the configuration file will overwrite
       a ypserver/server entry and a ypserver/server entry broad­
       initializes the binding and checks it  periodically.  Upon
       failure,  the binding is invalidated and the process tries
       again to find a valid server. The second thread will  han­
       dle all the signals.


OPTIONS

       -broadcast
              Send  a broadcast to request the information needed
              to bind to a specific NIS server. With this option,
              /etc/yp.conf will be ignored.

       -ypset Allow  root  from  any remote machine to change the
              binding for a domain via the ypset(8)  command.  By
              default, no one can change the binding. This option
              is really insecure. If you change a binding  for  a
              domain,  all  the  current  known  servers for this
              domain will be forgotten. If the  new  server  goes
              down, ypbind will use the old searchlist.

       -ypsetme
              The  same  as  -ypset,  but  only root on the local
              machine is  allowed  to  chang  the  binding.  Such
              requests are only allowd from loopback.

       -c     ypbind  only  checks  if the config file has syntax
              errors and exits.

       -debug starts ypbind in debug mode.  ypbind will  not  put
              itself  into  background,  and  error  messages and
              debug output are written to standard error.

       -broken-server
              lets ypbind accept answers from servers running  on
              an  illegal  port  number.  This  should usually be
              avoided, but is required  by  some  ypserv(8)  ver­
              sions.

       -no-ping
              ypbind will not check if the binding is alive. This
              option is for use with dialup connections  to  pre­
              vent ypbind from keeping the connection unnessecar­
              ily open or causing autodials.

       -f configfile
              ypbind will use configfile and not /etc/yp.conf

       --version
              Prints the version number


NOTES


       /var/run/ypbind.pid
              contains  the  process  id of the currently running
              ypbind master process.


SEE ALSO

       syslog(3),  domainname(1),  ypdomainname(8),   ypwhich(1),
       ypserv(8), ypset(8)


AUTHOR

       ypbind-mt was written by Thorsten Kukuk <kukuk@suse.de>.

ypbind-mt Version 1.14      April 2002                  ypbind(8)
  
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds