I have recently set up a new FreeNAS machine at home and am beginning to tinker. I have previously had very little experience with network administration (and I have only been using Linux on my home machines for the past year or two).

I have been used to mounting an SMB share from a Synology DiskStation via CIFS on my Kubuntu machine, and I need to supply credentials to be able to do that. I have been doing some online searching on the topic, and I understand that NFS doesn't require login credentials to mount, although I believe UIDs on the client and NFS machine need to align for the mount to succeed (although I'm not certain my understanding on this is correct or complete).

I appear to have been able to successfully mount the NFS share from my FreeNAS machine, and I believe this is because I run the mount command with sudo, and the NFS share owner is root in FreeNAS, so the UID's on client and server are both 0 and this allows the mount to proceed?

If this is correct, I am wondering if anyone who connects a Linux machine on my home network and has su privileges for that machine can then mount the NFS share without any credentials?

If so, is there a way that I can restrict the ability to mount the share? Is this what Kerberos is for?

New contributor
Mike Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

Mike Williams is a new contributor. Be nice, and check out our Code of Conduct.

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.