TopicLinux →
Simple definition
sudoers controls which users can execute which commands with sudo.
Technical definition
The configuration is usually managed via /etc/sudooers and /etc/sudooers.d with a strict zoning.
What’s the point?…
delegate privileges without sharing the root account.
Concrete example
an operator can restart a specific service without obtaining a complete root shell.
Common problems
- Invalid
- Nopass takes too wide
- order of rules
To be noted: Always adapt the diagnosis to the version of the product and to the architecture actually deployed.