• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Sudoers Directory

April 8, 2019

What’s in the /etc/sudoers.d/ directory? It’s a group of files with the following format as displayed in the code below. In the example, the file allows a Linux group or an AD group to assume the role of root, via the sudo command. As long as the group uses the correct format, and is located inside the /etc/sudoers.d/ directory, that group will have access to root.

%groupname  ALL=(ALL)   NOPASSWD: ALL

%groupname ALL=(ALL) NOPASSWD: ALL

Filed Under: Linux Tagged With: sudo, sudoers

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023