Changes

From SME Server
Jump to navigationJump to search
Note box added ref visudo & update to latest sudoers file.
Line 70: Line 70:     
* /etc/sudoers (for unmounting a user's home directory on logout)
 
* /etc/sudoers (for unmounting a user's home directory on logout)
 +
{{Note box| Always use visudo to edit the sudoers file}}
 
  # /etc/sudoers
 
  # /etc/sudoers
 
  #
 
  #
Line 90: Line 91:  
  ALL ALL=NOPASSWD: UMOUNT
 
  ALL ALL=NOPASSWD: UMOUNT
 
   
 
   
  # Uncomment to allow members of group sudo to not need a password
+
  # Allow members of group sudo to execute any command
  # (Note that later entries override this, so you might need to move
+
  # (Note that later entries override this, so you might need to move  
  # it further down)
+
  # it further down)  
  # %sudo ALL=NOPASSWD: ALL
+
  %sudo ALL=(ALL) ALL  
 +
#
 +
#includedir /etc/sudoers.d
    
* /etc/pam.d/common-auth
 
* /etc/pam.d/common-auth
47

edits

Navigation menu