Hi,

I must confess, that I never used pfexec. If an user has that permission to use commands with pfexec, do I need to enter a password?

How can I give a user the permission ZFS File System
Management" without a GUI?

FLorian


On 09/03/2012 01:05 AM, Timothy Coalson wrote:
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 <jso...@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 <flor...@acw.at> wrote:
I used this command:
zfs send -R tank/raid1-0@20120831-2017 | ssh backup@192.168.10.201"/usr/sbin/zfs
receive -Fduv tank/backup_raid"

On Sun, Sep 2, 2012 at 1:07 PM, Timothy Coalson <tsc...@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@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss



_______________________________________________
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to