Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webui: Run browser as liveuser instead of root
It's not a good idea to run UI code as root if we can help it, and since the webui separates front end from backend, we don't need to run the front end code as root. This commit changes webui-desktop to start firefox as the liveuser. The entire script could probably be run unprivileged with a few changes to the cockpit parts (different port, new polkit policy, cockpit.spawn changes to run as superuser), but that's a change for another time.
- Loading branch information