Advertisement
Guest User

Untitled

a guest
May 30th, 2011
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.53 KB | None | 0 0
  1. bilal@bilal-dell:~/nova$ sudo cat /etc/sudoers
  2. [sudo] password for bilal:
  3. #
  4. # This file MUST be edited with the 'visudo' command as root.
  5. #
  6. # Please consider adding local content in /etc/sudoers.d/ instead of
  7. # directly modifying this file.
  8. #
  9. # See the man page for details on how to write a sudoers file.
  10. #
  11. Defaults env_reset
  12.  
  13. # Host alias specification
  14.  
  15. # User alias specification
  16.  
  17. # Cmnd alias specification
  18.  
  19. # User privilege specification
  20. root ALL=(ALL:ALL) ALL
  21.  
  22. # Members of the admin group may gain root privileges
  23. %admin ALL=(ALL) ALL
  24.  
  25. # Allow members of group sudo to execute any command
  26. %sudo ALL=(ALL:ALL) ALL
  27.  
  28. #includedir /etc/sudoers.d
  29. %bumblebee ALL=(ALL:ALL) NOPASSWD: /etc/init.d/bumblebee
  30. bilal@bilal-dell:~/nova$ sudo cat /etc/sudoers.d/
  31. nova_sudoers README
  32. bilal@bilal-dell:~/nova$ sudo cat /etc/sudoers.d/nova_sudoers
  33. Cmnd_Alias NOVACMDS = /bin/chmod /var/lib/nova/tmp/*/root/.ssh, \
  34. /bin/chown /var/lib/nova/tmp/*/root/.ssh, \
  35. /bin/chown, \
  36. /bin/chmod, \
  37. /bin/dd, \
  38. /sbin/ifconfig, \
  39. /sbin/ip, \
  40. /sbin/route, \
  41. /sbin/iptables, \
  42. /sbin/iptables-save, \
  43. /sbin/iptables-restore, \
  44. /sbin/ip6tables-save, \
  45. /sbin/ip6tables-restore, \
  46. /sbin/kpartx, \
  47. /sbin/losetup, \
  48. /sbin/lvcreate, \
  49. /sbin/lvdisplay, \
  50. /sbin/lvremove, \
  51. /bin/mkdir, \
  52. /bin/mount, \
  53. /sbin/pvcreate, \
  54. /usr/bin/tee, \
  55. /sbin/tune2fs, \
  56. /bin/umount, \
  57. /sbin/vgcreate, \
  58. /usr/bin/virsh, \
  59. /usr/bin/qemu-nbd, \
  60. /usr/sbin/brctl, \
  61. /usr/sbin/vblade-persist, \
  62. /sbin/pvcreate, \
  63. /sbin/aoe-discover, \
  64. /sbin/vgcreate, \
  65. /bin/aoe-stat, \
  66. /bin/kill, \
  67. /sbin/vconfig, \
  68. /usr/sbin/ietadm, \
  69. /sbin/vgs, \
  70. /sbin/iscsiadm, \
  71. /usr/bin/socat, \
  72. /usr/sbin/dnsmasq
  73.  
  74. nova ALL = (root) NOPASSWD: SETENV: NOVACMDS
  75.  
  76. bilal@bilal-dell:~/nova$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement