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?
More on Permissions, Users & sudo
Explain the rwx permission model for files and directories.BeginnerHow does octal notation work in chmod?BeginnerWhat does chown do and who can run it?IntermediateWhat is umask and how is the final permission calculated?IntermediateWhat is SUID and give a real example?IntermediateWhat does SGID do on files versus directories?Intermediate