Changes

Jump to: navigation, search

OPS335 NIS Lab

2 bytes added, 16:51, 14 July 2016
no edit summary
*Use the following command to verify your NIS server is working - you should see your learnid password record.
ypcat passwd
*Add a new user named nis-user, with password "ops335".*Add the same user name as the one you created on '''vm3'''in lab 4b, but give them using 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.
*Log out of '''VM2''', but leave it running
== INVESTIGATION 2: CLIENT CONFIGURATION ==
*Log into both '''vm2''' and '''vm3''' as '''nis-the new user'''. Note how they require different passwords on different machines.
*Log out, and log back in as '''root''' (or use your normal user and '''su''') to continue.
*Install ypbind on your vm3.
*Save and exit the file.
*Ensure ypbind will start at boot and restart the vm.
*Log into vm3 as '''nis-the new user'''. You should now be able to use the password stored on '''vm2'''.*Back on '''vm2''' change the password for '''nis-the new user''' and rebuild the maps. Try to log into '''vm3''' as '''nis-user''' with the old password; it should now require the changed password.
== INVESTIGATION 3: ADDING THE OTHER VMS ==
932
edits

Navigation menu