I have a high priority service that I start with sudo nice -n -10 process
. This process does not need superuser rights though, except for the priority elevation. But nice requires superuser privileges to elevate priority.
How do I run a process with elevated priority, without also running it as root?