Revision ff285c99

View differences:

share/pkgs/CentOS/opennebula.sudoers
2 2
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
3 3

  
4 4
Cmnd_Alias ONE_MISC = /bin/dd, /sbin/mkfs, /bin/sync
5
Cmnd_Alias ONE_NET = /usr/sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /sbin/vconfig
5
Cmnd_Alias ONE_NET = /usr/sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip
6 6
Cmnd_Alias ONE_LVM = /sbin/lvcreate, /sbin/lvremove, /sbin/lvrename, /sbin/lvs, /sbin/vgdisplay
7 7
Cmnd_Alias ONE_ISCSI = /sbin/iscsiadm, /usr/sbin/tgt-admin, /usr/sbin/tgtadm
8 8
Cmnd_Alias ONE_OVS = /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl
share/pkgs/Debian/opennebula.sudoers
2 2
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
3 3

  
4 4
Cmnd_Alias ONE_MISC = /bin/dd, /sbin/mkfs, /bin/sync
5
Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /sbin/vconfig
5
Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip
6 6
Cmnd_Alias ONE_LVM = /sbin/lvcreate, /sbin/lvremove, /sbin/lvrename, /sbin/lvs, /sbin/vgdisplay
7 7
Cmnd_Alias ONE_ISCSI = /usr/bin/iscsiadm, /usr/sbin/tgt-admin, /usr/sbin/tgtadm
8 8
Cmnd_Alias ONE_OVS = /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl
share/pkgs/Ubuntu/opennebula.sudoers
2 2
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
3 3

  
4 4
Cmnd_Alias ONE_MISC = /bin/dd, /sbin/mkfs, /bin/sync
5
Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip, /sbin/vconfig
5
Cmnd_Alias ONE_NET = /sbin/brctl, /sbin/ebtables, /sbin/iptables, /sbin/ip
6 6
Cmnd_Alias ONE_LVM = /sbin/lvcreate, /sbin/lvremove, /sbin/lvrename, /sbin/lvs, /sbin/vgdisplay
7 7
Cmnd_Alias ONE_ISCSI = /usr/bin/iscsiadm, /usr/sbin/tgt-admin, /usr/sbin/tgtadm
8 8
Cmnd_Alias ONE_OVS = /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl
share/pkgs/openSUSE/opennebula.sudoers
2 2
Defaults secure_path = /sbin:/bin:/usr/sbin:/usr/bin
3 3

  
4 4
Cmnd_Alias ONE_MISC = /usr/bin/dd, /sbin/mkfs, /usr/bin/sync
5
Cmnd_Alias ONE_NET = /sbin/brctl, /usr/sbin/ebtables, /usr/sbin/iptables, /sbin/ip, /sbin/vconfig
5
Cmnd_Alias ONE_NET = /sbin/brctl, /usr/sbin/ebtables, /usr/sbin/iptables, /sbin/ip
6 6
Cmnd_Alias ONE_LVM = /sbin/lvcreate, /sbin/lvremove, /sbin/lvrename, /sbin/lvs, /sbin/vgdisplay
7 7
Cmnd_Alias ONE_ISCSI = /sbin/iscsiadm, /usr/sbin/tgt-admin, /usr/sbin/tgtadm
8 8
Cmnd_Alias ONE_OVS = /usr/bin/ovs-ofctl, /usr/bin/ovs-vsctl
share/sudoers/sudo_commands.rb
22 22

  
23 23
CMDS = {
24 24
    :MISC  => %w(dd mkfs sync),
25
    :NET   => %w(brctl ebtables iptables ip vconfig),
25
    :NET   => %w(brctl ebtables iptables ip),
26 26
    :LVM   => %w(lvcreate lvremove lvrename lvs vgdisplay),
27 27
    :ISCSI => %w(iscsiadm tgt-admin tgtadm),
28 28
    :OVS   => %w(ovs-ofctl ovs-vsctl),

Also available in: Unified diff