N
N
nepster-web2014-02-04 23:26:20
System administration
nepster-web, 2014-02-04 23:26:20

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

1 answer(s)
V
Vlad Zhivotnev, 2014-02-05
@nepster-web

#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 question

Ask a Question

731 491 924 answers to any question