Inside Linux Table (Web hosting company) 11.5. Options for the ypbind

Inside Linux Table 11.5. Options for the ypbind Command Option Description -broadcast This option is used to send a broadcast for information required to bind to an NIS server. -ypset This option allows a root user from any remote machine to change the binding for a domain using the ypset command. The default is that no one can change the binding. Be cautious because this is an unsecure option. -ypsetme This option is the same as -ypset, but only root is allowed to change the binding. -c This option tells ypbind to check the configuration file for syntax errors and exits. -debug This option invokes ypbind in debug mode, keeping ypbind from running in the background. Additionally, ypbind will write error messages and debug output to standard error. -brokenserver This option is used to tell ypbind to accept answers from servers running on an illegal port number. Avoid this option if you can. -no-ping This keeps ypbind from checking whether the binding is alive; it is used with dial-up connections to prevent ypbind from keeping the connection open. -f configfile This option tells ypbind to use configfile. -p port This is used to specify the port that ypbind will bind to. This allows you to use router filter packets to the NIS ports. –version This option prints the version number and exits. Additional NIS Commands and Files The NIS system offers a number of commands beyond what has been discussed thus far. Some of the commands discussed in this section may or may not be available on your Linux distribution. The ypwhich Command The ypwhich command is used to return the name of the NIS server or the map master. The usage for ypwhich is as follows: ypwhich [ -d domain ] [ -Vn ] [ hostname ] ypwhich [ -d domain ] [ -t ] -m [ mname ] ypwhich -x The ypwhich command returns the name of the NIS server that is supplying NIS services to the NIS client. The NIS server might also be the master for a map. If you invoke the command without any arguments, the value returned is the NIS server for the local machine. If you specify a hostname, that host machine will be queried to discover the NIS master that is being used. Table 11.6 describes the available options for the ypwhich command. Table 11.6. Options for the ypwhich Command Option Description -d domain Specifies a domain other than the default. -t Inhibits the map nickname translation. -m mname Locates the master NIS server for a map. A hostname cannot be specified in this option. The mname can be a map name or the nickname for a map. -x Displays the map nickname translation table. -Vn Prints the version of ypbind and exits. page 206
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.

Leave a Reply