Changes

Jump to: navigation, search

OPS535-lab-nfs

601 bytes added, 14:23, 19 September 2019
m
Investigation 1: NFS Server Setup: - fixing a typo
Make sure to double check that the file permissions have been set correctly.</li>
<li>To set the sticky bit on the directory "/nfs-pub" , use the command
<soursesource>chmod +t /nfs-pub</source></li>
<li>Edit your /etc/exports file and insert the following lines:
<source>/nfs-pub ip-of-vm1(rw,root_squash)
/nfs-pub ip-of-vm3(rw,root_squash)</source>
"ip-of-vm1" should be replaced by the actual IP address of vm1 (VM1),and "ip-of-vm3" should be replaced by the actual IP address of vm3 (VM3).</li>
<li>Enter the command
# What is the full path name of the nfs module file? i.e. where is it on your hard drive?
# What is the purpose of the sticky bit?
# Who is the owner of /nfs-mnt/passwd.A.root and /nfs-pub/passwd.A.root? Are they the same? Why?
# Who is the owner of the file /nfs-mnt/passwd.A.user and /nfs-pub/passwd.A.user? Are they the same? Why?
# Who is the owner of the file /nfs-mnt/passwd.A.map and /nfs-pub/passwd.A.map? Are they the same? Why and why not?
# Who is the owner of the file /nfs-mnt/passwd.A.ops and /nfs-pub/passwd.A.ops? Are they the same? Why and why not?
# Who is the owner of /nfs-mnt/group.A.root and /nfs-pub/group.A.root? Are they the same? Why?
# Did the file /nfs-mnt/hosts.A.root get created? Why or why not?
932
edits

Navigation menu