linux_wiki:sudoers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:sudoers [2015/10/04 00:55]
billdozor created
linux_wiki:sudoers [2019/05/25 23:50] (current)
Line 6: Line 6:
  
 **Checklist** **Checklist**
-  * Distro: Enterprise Linux 6+  * Distro(s)Any
  
 ---- ----
  
-===== EL 6 =====+===== Config Locations =====
  
 The most maintainable method is to leave the main sudoers file as vanilla as possible. \\ The most maintainable method is to leave the main sudoers file as vanilla as possible. \\
Line 20: Line 20:
 ---- ----
  
-==== /etc/sudoers ====+===== /etc/sudoers =====
  
 The main system sudoers file should contain this include statement to ensure all files in /etc/sudoers.d/ will be read from: The main system sudoers file should contain this include statement to ensure all files in /etc/sudoers.d/ will be read from:
Line 30: Line 30:
 ---- ----
  
-==== /etc/sudoers.d/ ====+===== /etc/sudoers.d/ =====
 The sudoers.d directory holds additional files that contain group specific sudoers configuration. The sudoers.d directory holds additional files that contain group specific sudoers configuration.
  
Line 36: Line 36:
   * Owner/group: chown root:root   * Owner/group: chown root:root
   * Permissions: chmod 440   * Permissions: chmod 440
-  * Initially be created with "visudo -f <filename>" to ensure no syntax errors.+  * Initially be created with "visudo -f /etc/sudoers.d/<filename>" to ensure no syntax errors.
  
 ---- ----
  
-==== sudoers.d files ====+===== sudoers.d files =====
  
 Example sudoers.d files. Example sudoers.d files.
  • linux_wiki/sudoers.1443934520.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)