[OpenIndiana-discuss] How to manage a send over ssh

jason matthews jason at broken.net
Thu Mar 23 18:46:05 UTC 2017



On 3/23/17 11:24 AM, Geoff Nordli wrote:
> Hi Harry.
>
> A couple of different options:
>
> 1)  give your account zfs permissions (tank is the pool)
>
> zfs allow -s  @adminrole 
> clone,create,destroy,mount,promote,quota,receive,rename,reservation,rollback,send,snapshot,userprop 
> tank
> zfs allow harryp @adminrole tank
>
>
> 2)  use password less sudo for that use account.  In sudoers file add 
> this:
>
> harryp ALL = NOPASSWD: /usr/sbin/zfs
>

This is another way to skin that cat that doesnt require logging in as 
root. You could mix and match zfs permissions with the transmission 
mechanisms I provided.

best,
j.



More information about the openindiana-discuss mailing list