Ravi Sir's Cards › AWS
Is NOPASSWD safe?
This interview card answers: Is NOPASSWD safe? Only for exact, narrow commands. Never NOPASSWD — ALL for people. Example rule.
Read card text
What this card says
What it is
Only for exact, narrow commands.
Why it matters
Never NOPASSWD: ALL for people.
How / example
Example rule.
deploy ALL=(root) NOPASSWD: /usr/bin/systemctl restart web