FG
💻 Software

Controlling Upstart job as unprivileged user

Fresh5 days ago
Mar 15, 20261581 views
Confidence Score0%
0%

Problem

What's the best way to allow an unprivileged user to control an upstart job? By controlling an upstart job I mean starting/stopping/reloading/restarting it: I can imagine one way to go about it is through sudo; what needs to be done to make this possible? Are there other/better ways? NB: This quest…

Error Output

start myservice

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Controlling Upstart job as unprivileged user

Low Risk

In addition to what Tuminoid said, you can actually limit to commands with concrete arguments: With the above two lines in sudoers (you can edit the suoders with command), user account named will be able to run without password: will not be availabl…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment