sudoers 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ## sudoers file.
  2. ##
  3. ## This file MUST be edited with the 'visudo' command as root.
  4. ## Failure to use 'visudo' may result in syntax or file permission errors
  5. ## that prevent sudo from running.
  6. ##
  7. ## See the sudoers man page for the details on how to write a sudoers file.
  8. ##
  9. ##
  10. ## Host alias specification
  11. ##
  12. ## Groups of machines. These may include host names (optionally with wildcards),
  13. ## IP addresses, network numbers or netgroups.
  14. # Host_Alias WEBSERVERS = www1, www2, www3
  15. ##
  16. ## User alias specification
  17. ##
  18. ## Groups of users. These may consist of user names, uids, Unix groups,
  19. ## or netgroups.
  20. # User_Alias ADMINS = millert, dowdy, mikef
  21. ##
  22. ## Cmnd alias specification
  23. ##
  24. ## Groups of commands. Often used to group related commands together.
  25. # Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
  26. # /usr/bin/pkill, /usr/bin/top
  27. # Cmnd_Alias REBOOT = /sbin/halt, /sbin/reboot, /sbin/poweroff
  28. ##
  29. ## Defaults specification
  30. ##
  31. ## You may wish to keep some of the following environment variables
  32. ## when running commands via sudo.
  33. ##
  34. ## Locale settings
  35. # Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
  36. ##
  37. ## Run X applications through sudo; HOME is used to find the
  38. ## .Xauthority file. Note that other programs use HOME to find
  39. ## configuration files and this may lead to privilege escalation!
  40. # Defaults env_keep += "HOME"
  41. ##
  42. ## X11 resource path settings
  43. # Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
  44. ##
  45. ## Desktop path settings
  46. # Defaults env_keep += "QTDIR KDEDIR"
  47. ##
  48. ## Allow sudo-run commands to inherit the callers' ConsoleKit session
  49. # Defaults env_keep += "XDG_SESSION_COOKIE"
  50. ##
  51. ## Uncomment to enable special input methods. Care should be taken as
  52. ## this may allow users to subvert the command being run via sudo.
  53. # Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
  54. ##
  55. ## Uncomment to use a hard-coded PATH instead of the user's to find commands
  56. # Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
  57. ##
  58. ## Uncomment to send mail if the user does not enter the correct password.
  59. # Defaults mail_badpass
  60. ##
  61. ## Uncomment to enable logging of a command's output, except for
  62. ## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
  63. # Defaults log_output
  64. # Defaults!/usr/bin/sudoreplay !log_output
  65. # Defaults!/usr/local/bin/sudoreplay !log_output
  66. # Defaults!REBOOT !log_output
  67. ##
  68. ## Runas alias specification
  69. ##
  70. ##
  71. ## User privilege specification
  72. ##
  73. root ALL=(ALL) ALL
  74. ## Uncomment to allow members of group wheel to execute any command
  75. # %wheel ALL=(ALL) ALL
  76. ## Same thing without a password
  77. # %wheel ALL=(ALL) NOPASSWD: ALL
  78. ## Uncomment to allow members of group sudo to execute any command
  79. # %sudo ALL=(ALL) ALL
  80. ## Uncomment to allow any user to run sudo if they know the password
  81. ## of the user they are running the command as (root by default).
  82. # Defaults targetpw # Ask for the password of the target user
  83. # ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
  84. ## Read drop-in files from /etc/sudoers.d
  85. ## (the '#' here does not indicate a comment)
  86. #includedir /etc/sudoers.d
  87. %wheel ALL=(ALL) ALL
  88. canlikullanici ALL=(ALL) NOPASSWD:/usr/bin/milis-yukle