20

I have two machines on a local network (Ubuntu 11.04). I created an NFS server on machine A. The other machine B receives its IP through DHCP.

I want to know if IP is the only way to allow or deny hosts from accessing the NFS share. Is there some way I can restrict access to the NFS share based on a password?

slhck
  • 223,558
  • 70
  • 607
  • 592
AnkurVj
  • 1,101
  • 2
  • 10
  • 21

1 Answers1

19

Without involving an authentication method like Kerberos, NFS on its own has very little in the way of access control - pretty much just restriction by IP address as you noted.

More info here if you want to look at the Kerberos option:

https://help.ubuntu.com/community/NFSv4Howto

Linker3000
  • 27,498
  • 3
  • 52
  • 73