Changes

Jump to: navigation, search

OPS335 Lab 7 2018

270 bytes added, 01:10, 1 April 2019
INVESTIGATION 2: CLIENT CONFIGURATION
*The machine will essentially be communicating with its own NIS server when using the Makefile
*Now change to directory /var/yp and run this command to build the information databases
make('''NOTE: '''If you receive a "Domain name cannot be (none)" message, restart ''rhel-domainname'' and try again.)
*Enable and start the NIS binding (ypbind) service.
systemctl start ypbind.service
*Use the following command to verify your NIS server is working - you should see your learnid the password recordfor your own user account.
ypcat passwd
*Add a new user to your '''host''' with the same name as the one you created on '''vm3''' in lab 4b, but use a different password.
*Run 'ypcat passwd' again.
*Note that the new user does not appear. In order for the new user to show up you will need to recreate the map files- change directory to /var/yp and run the "make" command again.
 
== INVESTIGATION 2: CLIENT CONFIGURATION ==
domain <senecaid>.ops server 192.168.x.1
*Start the ypbind server with the command.
systemctl start ypbind.service('''NOTE: ''' If you receive an error about rpcbind, ensure "NM_CONTROLLED=no" is removed from your ifcfg file and restart that interface.)
*Looking at your logs ensure that ypbind is registered with rpcbind, if it is unable your firewall may need to be adjusted.
*Now when you run the following command:

Navigation menu