You are looking to disable "root squashing", root=host

zfs set sharenfs='rw=192.168.1.0/24,root=192.168.1.30/32' tank/download
http://allanfeid.com/content/ultimate-file-server-opensolaris-and-zfs
http://robinbowes.com/article.php/20080411002106299

root is usually squashed by default for security reasons. root user on another 
machine is mapped to the user nobody when accessing the NFS share. If root were 
not squashed by default, it would mean that a user that could access the NFS  
server from a machine that they had root on and would be able to have root 
access to your NFS share.  You can grant root NFS access to specific machines 
using:
zfs set 
sharenfs="root=hostname.domain.com:secondhost.domain.com:thirdhost.domain.com" 
tank/download
or
zfs set sharenfs="root=.subdomain.domain.com" tank/download
which will enable access for the entire subdomain.  If you use hostnames, 
reverse and forward DNS need to be properly setup.
-- 
This message posted from opensolaris.org
_______________________________________________
distribution-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/distribution-discuss

Reply via email to