Changes

Jump to: navigation, search

OPS335 NIS Lab

779 bytes added, 13:41, 18 March 2012
Part C: Adding the other VM's - nsswitch & using NIS with automount
===Part C: Adding the other VM's - nsswitch & using NIS with automount===
*Many of you had an issue last week when using NFS as you had differing GID & UID's between systems - when attempting to mount the home directory from the host you received various permission issues. We will intentionally create this issue on vm02 and then correct it with NIS.
*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 example:
[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
[root@f16 yp]# cat /etc/passwd | grep home
paul:x:1000:1000:paul:/home/paul:/bin/bash
nis-user:x:1001:1001::/home/nis-user:/bin/bash
==Completing the Lab==
1
edit

Navigation menu