Interview Prep/Linux/Permissions, Users & sudo

What is sudo and how is it configured?

BeginnerConceptPermissions, Users & sudo
Answer

sudo lets permitted users run commands as root (or another user), with logging. Rules live in /etc/sudoers and /etc/sudoers.d/*. Always edit with visudo, which syntax-checks before saving; a broken sudoers file can lock out all admins.

sudo visudo -f /etc/sudoers.d/devops
sudo -l          # what can I run?
All Linux questions Roadmap: Linux

More on Permissions, Users & sudo