Changes

Jump to: navigation, search

OPS335 NIS Lab

28 bytes added, 14:42, 18 March 2012
Part C: Adding the other VM's - nsswitch & using NIS with automount
*SSH to the root account on vm02 and runt he following command
cat /etc/passwd | grep home
*Look at the existing users and compare them with the same users on the host machine. Find one whose credentials differ. *For exampleon vm02:
[root@<b>vm02</b> ~]# cat /etc/passwd | grep home
nis-user:x:1000:1000::/home/nis-user:/bin/bash
paul:x:1001:1001::/home/paul:/bin/bash
*And on the host:
[root@f16 yp]# cat /etc/passwd | grep home
paul:x:1000:1000:paul:/home/paul:/bin/bash
1
edit

Navigation menu