Skip to content
SadPackets home

Sudo wants a password

Systems › Linux administration › Users & permissionsLinux

At Atelier Brossard, the release of the planning board goes through but the app is never restarted: the deploy account's restart is refused. You run srv: give deploy back its one command, and nothing more.

The situation

Karim, who looks after the planning board's releases at Atelier Brossard, reports that since yesterday the releases go through but the app is never restarted, so the workshop still sees the old planning. The deploy step says sudo wants a password, and the deploy account has never had one; he says nothing changed on their side. You run srv, where the planning board runs as a systemd service and a release hook restarts it as deploy. At the end, the hook restarts the planning board again, deploy may run that one command as root without a password and nothing else, and the app and the hook stay as they are.

Topology

srv

The network you inherit. Once the lab is running, you open a terminal on any node.

New to networking? The glossary explains the words our briefs use.