User Tools

Site Tools


classes:la_slapd_l4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
classes:la_slapd_l4 [2016/12/15 15:30] – created curry_searleclasses:la_slapd_l4 [2016/12/15 20:33] (current) curry_searle
Line 20: Line 20:
 </code> </code>
  
-Restart ''autofs'':+Restart ''autofs'' and confirm there are no errors in the status of the service:
 <code> <code>
 sudo service autofs restart sudo service autofs restart
Line 26: Line 26:
 </code> </code>
  
 +Now that we have the client configured to auto mount our NFS filesystem, we can create and configure ownership of the exported home directories:
 +<code>
 +cd /nfs/cls-kvm1/
 +sudo mkdir /nfs/cls-kvm1/kevin
 +sudo chown -R kevin:kevin kevin
 +sudo chmod -R 750 kevin
 +sudo mkdir /nfs/cls-kvm1/olive
 +sudo chown -R olive:olive olive
 +sudo chmod -R 750 olive
 +sudo mkdir /nfs/cls-kvm1/tom
 +sudo chown -R tom:tom tom
 +sudo chmod -R 750 tom
 +</code>
 +
 +Test authentication using ''su - kevin'' or ''su - olive'':
 +<code>
 +su - kevin
 +Password: 
 +kevin@cls-kvm2:~$ 
 +</code>
 +
 +You can confirm your home directory location using the ''pwd'' command:
 +<code>
 +kevin@cls-kvm2:~$ pwd
 +/nfs/cls-kvm1/kevin
 +kevin@cls-kvm2:~$ 
 +</code>
 +
 +This completes the final lesson and the full tutorial.
classes/la_slapd_l4.1481844654.txt.gz · Last modified: 2016/12/15 15:30 (external edit)