Cedant web hosting - Inside Linux Table 11.1. Files Maintained by NIS
Inside Linux Table 11.1. Files Maintained by NIS File Description /etc/aliases Provides aliases and mailing lists for the mail system. /etc/bootparams Provides information about diskless nodes. /etc/ethers Provides MAC to IP mappings. /etc/group Provides group access information. /etc/hosts Provides IP address to hostname mappings. /etc/netgroup Identifies network group definitions used by NIS; this is specific to NIS. /etc/netmasks Provides IP network masks. /etc/networks Identifies network addresses. /etc/passwd Provides user access information. /etc/protocols Provides network protocol and number mappings. /etc/rpc Provides RPC numbers. /etc/services Provides port number to TCP/IP mappings. /etc/shadow Provides password information for user account. Not all systems employ shadow password functionality. All these files may not be supported by your distribution of Linux; be sure to check the documentation for details. Notice that the /etc/netgroup file is used by NIS; you should know that it is NIS specific and is not a part of the stock of administrative configuration files. Be sure to verify that any commands and directory paths are correct. Verify that all usernames have an associated password. You may have to consult the /etc/shadow file for this if your system uses shadow passwords. Ensuring that each account has a password will help in the fight against security breaches through NIS. If you will be using NIS to maintain other organizational-specific files, you should also ensure that these files are up to date. Executing the ypinit Command After you have determined that all your administrative files are up to date, the next action is to build the NIS maps. This is performed using the ypinit command. The ypinit command is used to build and install the NIS database. The following shows the usage for the ypinit command: ypinit [-m] [-s master_name] The ypinit command accepts two options, which are -m and -s master_name. The -m switch is used to identify that the local host is the NIS master. Because you are at the master server, you must execute ypinit with the -m switch. The following dialog demonstrates the invocation. stimpy $ ypinit -m stimpy $ The -s master_name option is used if you are at a slave server. It is used to set up the slave server with the map files from the master server. When the ypinit command executes, it builds the domain directory named /var/yp. Some versions may build the directory /etc/yp, so be sure to browse around the directory tree for the directory. The domain directory is created for the default domain. After the domain directory exists, the ypinit command generates the administrative maps necessary for your system and places those maps in the domain directory (/var/yp). page 201
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.