Lars-Erik Bjørk wrote:
> Hi all!
> 
> I need a non-root user to be able to perform zfs snapshots and rollbacks.  
> Does anybody know what privileges that should be specified in
> /etc/user_attr ?

Use the user delegation feature instead, this is exactly what it was 
designed for.

# zfs allow -u lars rollback,snapshot,mount tank/home/lars

That will allow you to take snapshots (and mount them) up and rollback.
Note that you need 'mount', and you may want 'share' as well.

See zfs(1) for more information.

Without using "user delegation" you can't control the ability to just 
deal with snapshots.  There is the "ZFS File System Management" RBAC 
profile that you can assign but that allows you to do ANY zfs(1) 
operation to ANY pool.

-- 
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to