summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/smb_nfs/howtos/en
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/smb_nfs/howtos/en')
-rw-r--r--kpov_judge/tasks/smb_nfs/howtos/en/index.html18
1 files changed, 16 insertions, 2 deletions
diff --git a/kpov_judge/tasks/smb_nfs/howtos/en/index.html b/kpov_judge/tasks/smb_nfs/howtos/en/index.html
index c4174f4..2a8a72e 100644
--- a/kpov_judge/tasks/smb_nfs/howtos/en/index.html
+++ b/kpov_judge/tasks/smb_nfs/howtos/en/index.html
@@ -158,11 +158,25 @@
<li>
Determine the rules in /etc/exports, e.g.:
<p id="code">
- /srv/nfs/ERLbbBrT 192.168.1.0/24(ro,sync,no_subtree_check)<br>
#privileges for SimpleArbiterDhcp<br>
- /srv/nfs/ERLbbBrT 192.168.1.180(rw,sync,no_subtree_check)<br>
+ /srv/nfs/ERLbbBrT 192.168.1.180(rw,sync,insecure)<br>
+ /srv/nfs/ERLbbBrT 192.168.1.0/24(ro,sync,insecure)<br>
</p>
</li>
+ <li>
+ Change the owner of the directory and files in it:
+ <span id="code">chown student /srv/nfs/ERLbbBrT</span>
+ and similary for all the files in shared directory. The owner should not be root.
+ </li>
+ <li>
+ Run command
+ <span id="code">exportfs -rv</span>
+ to export file systems
+ <p>After that run
+ <span id="code">services nfs-kernel-server restart</span>
+ </p>
+ </li>
+ <br>
</ol>
</li>
<a name="smb"></a>