Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:use_kerberos_to_control_access_to_nfs_network_shares [2018/05/08 21:51] billdozor [NFS Server] |
linux_wiki:use_kerberos_to_control_access_to_nfs_network_shares [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 81: | Line 81: | ||
====== NFS Client ====== | ====== NFS Client ====== | ||
+ | **On server1** (NFS Client/ | ||
+ | |||
+ | \\ | ||
Add NFS principal and add local copy of keytab file | Add NFS principal and add local copy of keytab file | ||
<code bash> | <code bash> | ||
Line 102: | Line 105: | ||
\\ | \\ | ||
- | Temporary mount | + | Persistent |
- | <code bash> | + | |
- | mount -t nfs4 -o sec=krb5 server2.example.com:/ | + | |
- | </ | + | |
- | + | ||
- | \\ | + | |
- | Permanent | + | |
<code bash>vim /etc/fstab | <code bash>vim /etc/fstab | ||
- | server2.example.com:/ | + | server2.example.com:/ |
</ | </ | ||