Open main menu

CDOT Wiki β

Changes

OPS335 NIS Lab

203 bytes removed, 13:22, 18 March 2012
PART C: Adding VM03 to your NIS domain
===PART C: Adding VM03 to your NIS domain===
*Ensure you are still mounting your home directory from the host machine using autofs. If not revisit last weeks lab.
 *Open SSH to vm03 using two terminals, following your VM guest graphical login window and login as joker.logs with one using*Verify that joker is using the tail -f /varlog/home directory imported from your Fedora host.messages*Now modify your authentication Use the other to include NIS. You can do this by selecting System->Administration->Authentication from the GNOME menuedit /etc/yp. You'll have to set conf adding the followingline: NIS domain <learnid>.org server address (192.168.122x.1) NIS domain name (example.org)*Now start the ypbind server with the command "service . systemctl start ypbind start".service*Test your configuration with Now when you run the "ypcat passwd" following command. You you should be able to see both jokerthe 's and clownnis-user's password recordsentry added to the host machine. NOTE: Clown's record This is coming from your Fedora NIS on the host because there is no clown user on your VM guestand not the local machine. ypcat passwd
*Logout of joker and login as clown on your VM. NOTE: You may have to login as "other" if clown's name does not show up on the login screen.
1
edit