Answer the question
In order to leave comments, you need to log in
How to use the sudoers.d directory on centOS 6?
Can you please tell me how to use the sudoers.d directory (centOS 6) in order to give other users the ability to execute the sudo command?
Answer the question
In order to leave comments, you need to log in
#includedir /etc/sudoers.d
Add at the end of /etc/sudoers. And there already throw files with sudo rules in the usual format.
The comments in sudoers are "# whattotam". The space is important, if it is not present - it is perceived as part of the configuration.
In versions of sudo that support sudoers.d, the /etc/sudoers.d/README file should be lying around (at least in Ubuntu they put it).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question