# Sudo Privileges

Task-oriented recipes. Each section assumes you already have `splam` installed and running. See the [Tutorial](tutorial-getting-started.md) if not.


# Run the app so it can actually control services

`systemctl start/stop/restart` require privilege. Running `shiny run` as an unprivileged user will authenticate fine but every service action will fail with a permission error in the **Status** tab.

Either run the app as a user with the necessary rights (`root`, or a service account granted control over specific units via `polkit`/`sudoers`), or accept that Start/Stop/Restart will no-op with an error until that's configured. **Status** and **Logs** work regardless of privilege.
