I need to give a non-root user the ability to execute the full 'cfgadm... ' 
cmnd functionality. <br>
As in the below example the 'cfgadm -l' works but the 'cfgadm -c 
unconfigure...' fails<br>

<br>
    # pfexec cfgadm -l<br>
    Ap_Id                          Type         Receptacle   Occupant     
Condition<br>
    sata0/0::dsk/c0t0d0            disk         connected    configured   ok<br>
    ...<br>
    usb7/6                         unknown      empty        unconfigured ok<br>
    # pfexec cfgadm -c unconfigure usb7/6<br>
    cfgadm: Insufficient privileges<br>
<br>
<br>
I experimented already with 'usermod -P...' to enable a user to do ZFS pool and 
filesystem tasks but I did not find any matching profile in 
'/etc/security/prof_attr' to enable the cfgadm set. Maybe someone could give me 
a hand here.
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to