Security
A cron job running as the deploy account must run /usr/local/bin/deploy.sh as root through sudo without a password prompt. Which sudoers entry follows least privilege?
Show the answer
Correct answerA. deploy ALL=(root) NOPASSWD: /usr/local/bin/deploy.sh
Limiting NOPASSWD to one root-owned script gives the job only what it needs. A wildcard or ALL lets the account run arbitrary commands as root with no password, and !authenticate removes the prompt for every command.