NFS
Enumeration
cat /etc/exports
rw # Read and write permissions.
ro # Read only permissions.
sync # Synchronous data transfer. (A bit slower)
async # Asynchronous data transfer. (A bit faster)
secure # Ports above 1024 will not be used.
insecure # Ports above 1024 will be used.
no_subtree_check # This option disables the checking of subdirectory trees.
root_squash # Assigns all permissions to files of root UID/GID 0 to the UID/GID of anonymous, which prevents root from accessing files on an NFS mount.
nohide # If another file system was mounted below an exported directory, this directory is exported by its own exports entry.
showmount -e 10.10.10.10
mkdir /mnt/nfs
mount -t nfs 10.10.10.10:/ /mnt/nfs/ -o nolock
cd /mnt/nfs
tree .
ls -n mnt/nfs/
umount /mnt/nfs
Last updated