Hi everyone, i''m new. I need to create a zfs filesystem in my home dir as normal user. I added in /etc/user_attr to my user account sys_mount and sys_config privileges. I executed: /usr/sbin/mkfile 100M tank_file /sbin/zpool create -R /export/home/marco/tank tank /export/home/marco/tank_file It will create the pool but can''t mount. Executing 2nd command with "ppriv -De" before I receive: missing privilege "ALL". Can someone help me ? TNX _____ Marco Sommella <mailto:marco.sommella at gmail.com> marco.sommella at gmail.com (E-mail & MSN) _____ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20080415/1e0c6b43/attachment.html>
Marco Sommella wrote:> Hi everyone, i?m new. > > I need to create a zfs filesystem in my home dir as normal user. I added > in /etc/user_attr to my user account sys_mount and sys_config > privileges. I executed:Instead of using RBAC for this it is much easier and much more flexible to use the ZFS delgated admin. # zfs allow -u marco create,mount tank/home/marco This then allows: marco$ zfs create tank/home/marco/Documents See the zfs(1) man page for more details. -- Darren J Moffat
On Tue, 15 Apr 2008, Darren J Moffat wrote:> Instead of using RBAC for this it is much easier and much more flexible > to use the ZFS delgated admin. > > # zfs allow -u marco create,mount tank/home/marco > > This then allows: > > marco$ zfs create tank/home/marco/Documents > > See the zfs(1) man page for more details.I would love to use that -- unfortunately, it did not make it into S10U5... Keeping my fingers crossed it will make S10U6, although I will have had to implement something else in the meantime. -- Paul B. Henson | (909) 979-6361 | http://www.csupomona.edu/~henson/ Operating Systems and Network Analyst | henson at csupomona.edu California State Polytechnic University | Pomona CA 91768