summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/smb_nfs/howtos/en/index.html
diff options
context:
space:
mode:
authorjm9632@student.uni-lj.si <jm9632@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-09-24 19:14:58 +0000
committerjm9632@student.uni-lj.si <jm9632@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-09-24 19:14:58 +0000
commitedd3d53908cf662b7656c059d24cbcb733e04224 (patch)
tree3dd463b992b23b3588daee935e3e0db3e33ad250 /kpov_judge/tasks/smb_nfs/howtos/en/index.html
parent53e0cdb2e93e8036c52c2a099907fe1d6678b5cb (diff)
NFS added commands chown, exportfs, edited /etc/exports
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@332 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/smb_nfs/howtos/en/index.html')
-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>