Open main menu

CDOT Wiki β

Changes

OPS335 NIS Lab

10 bytes removed, 07:53, 20 March 2012
Part C: Adding the other VM's
===Part C: Adding the other VM's===
*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 run the 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.
group: nis files
initgroups: files
*Save and exit the file. Again try to change to change to your learnid account (or other account where UID/GID differs between systems).
*You should now be successful, cd to your home directory and do a listing. Below is some example output:
[paul@vm02 ~]$ ll
1,760
edits