mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-13 13:17:39 +03:00
13 lines
685 B
Plaintext
13 lines
685 B
Plaintext
Defaults:oneadmin !requiretty
|
|
Defaults:oneadmin secure_path = /sbin:/bin:/usr/sbin:/usr/bin
|
|
|
|
Cmnd_Alias ONE_MISC = /bin/dd, /sbin/mkfs, /bin/sync
|
|
Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /usr/sbin/ipset
|
|
Cmnd_Alias ONE_LVM = /sbin/lvcreate, /sbin/lvremove, /sbin/lvs, /sbin/vgdisplay, /sbin/lvchange, /sbin/lvscan
|
|
Cmnd_Alias ONE_ISCSI = /usr/bin/iscsiadm, /usr/sbin/tgt-admin, /usr/sbin/tgtadm
|
|
Cmnd_Alias ONE_OVS = /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl
|
|
Cmnd_Alias ONE_XEN = /usr/sbin/xentop, /usr/sbin/xl, /usr/sbin/xm
|
|
Cmnd_Alias ONE_CEPH = /usr/bin/rbd
|
|
|
|
oneadmin ALL=(ALL) NOPASSWD: ONE_MISC, ONE_NET, ONE_LVM, ONE_ISCSI, ONE_OVS, ONE_XEN, ONE_CEPH
|