I have an authoritative DNS daemon in my test DNS setup which is responsible to provide host IP at best choice.
This daemon/process can run by setting some capabilities using setcap and then a development user can start or stop this without becoming the root user or using sudo.
But while booting up the box, this daemon/process again appears as running as root in ps output.
Can I start/stop this process with minimal capability/privileges from a non-root user? Then, at the bootup, I also don't want to see this running as the root user.
Is there any mechanism in init scripts to run the given process with non zero uid?