which users can execute commands using sudo?

Which file lists which users can execute commands using sudo?

(Provide the full path and filename)

Which file lists which users can execute commands using sudo?

(Provide the full path and filename)

Answer: /etc/sudoers

Explanation:
From the man pages:
The sudoers file is composed of two types of entries: aliases (basically variables) and user specifications (which specify who may run what). When multiple entries match for a user, they are applied in order. Where there are multiple matches, the last match is used (which is not necessarily the most specific match).



Leave a Reply 0

Your email address will not be published. Required fields are marked *