root access to zfs datasets shared over NFS

Friday, April 11 2008 @ 12:21 AM BST

Contributed by: robin

One of the great things about zfs on Solaris is how it integrates with NFS, thus making it very easy to manage NFS shares.

By default, the root user on a client machine has restricted access to an NFS-mounted share.

Here's how to grant full access to local root users to NFS mounts:

zfs set sharenfs=rw=@192.168.1.0/24,root=@192.168.1.0/24 space

This gives full access for root users on any machine in the 192.168.1.0/24 subnet to the zfs dataset "space".

Comments (0)


robinbowes.com
http://robinbowes.com/article.php/20080411002106299