Ravi Sir's Cards › AWS
sudo safely
This revision card explains sudo safely. It starts from the need that admin work without the root password. It describes sudo -l shows what you may run. The how-to section notes edit rules only with visudo. An example on the card is check all files before logout.
Read card text
What this card says
Why do we need it?
Admin work without the root password.
What is it?
sudo -l shows what you may run.
How to do it
Edit rules only with visudo.
Example
Check all files before logout.
sudo visudo -c