Least-privilege sudo for a deploy user

Solve in your browser

Edit the files below. The Objectives tick green live as you work. Hit Check when they all pass and your verified proof page is issued automatically.

Objectives

  • Met: deploy can restart myapp via sudo
  • Not met: deploy does NOT have full (ALL) sudo
  • Not met: The grant is scoped to exactly systemctl restart myapp
Objectives update live as you edit. Hitting Check commits your proof.

No account needed to explore. When you're ready, browse the rest of the challenges or sign in to save a solve as a verified proof.