![Black Box LS1016A User Manual Download Page 113](http://html.mh-extra.com/html/black-box/ls1016a/ls1016a_user-manual_2763435113.webp)
Chapter 3 - Additional Features
User Guide
113
You will need to configure the NIS server.
Command :
vi /etc/yp.conf
Example :
NIS server has IP address 192.168.160.110, to
add the following line in the file
ypserver 192.168.160.110
Step 3: Edit the /etc/nsswitch.conf file.
Change the /etc/nsswitch.conf file ("System Databases and Name service Switch
"configuration file) to include the NIS in the lookup order of the databases.
Step 4: Configure the parameter "<all/sxx>.authype" as "local."
How to Test the Configuration
To test the configuration do the following:
Step 1: Start up the following command:
/usr/sbin/ypbind
Step 2: Display the NIS server name.
Display the name of NIS server by running the following command:
/usr/bin/ypwhich
Step 3: Display the “all users” entry.
Displays the all users' entry in the NIS database by running the following command:
/usr/bin/ypcat -t passwd.byname
Step 4: Display the user's entry in the NIS passwd file.
/usr/bin/ypmatch -t <userid/username> passwd.byname
If the preceding steps were performed successfully, you now need to change the
/etc/inittab file by uncommenting the line that performs a ypbind upon startup.