[OpenIndiana-discuss] Backup User for zfs send and receive
Timothy Coalson
tsc5yc at mst.edu
Sun Sep 2 23:05:10 UTC 2012
We used different methods, the user profiles just tell pfexec what the user
can run as root, you still need to call it with pfexec in order to run it
as root. His method gave some privileges to a particular user on a
particular pool/filesystem, so that he didn't need root privileges to do
the zfs receive (until comstar got involved, apparently).
Tim
On Sun, Sep 2, 2012 at 2:37 PM, Jan Owoc <jsowoc at gmail.com> wrote:
> I don't actually know how this is supposed to work, but I noticed a
> difference between what you two wrote:
>
> > On Sun, Sep 2, 2012 at 6:03 AM, Florian <florian at acw.at> wrote:
> >> I used this command:
> >> zfs send -R tank/raid1-0 at 20120831-2017 | ssh backup at 192.168.10.201"/usr/sbin/zfs
> receive -Fduv tank/backup_raid"
>
> On Sun, Sep 2, 2012 at 1:07 PM, Timothy Coalson <tsc5yc at mst.edu> wrote:
> > [...] used "pfexec
> > zfs receive ..." for the receive command.
>
>
> I think that after you added the admin privileges to the user
> "backup", you still need to call "zfs receive" using pfexec to
> actually use these newly acquired privileges. Right?
>
> Jan
>
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>
More information about the OpenIndiana-discuss
mailing list