Answer the question
In order to leave comments, you need to log in
How to run a daemon as a non-root user?
There is a sphinx daemon that runs as the root user, you need to run it as a separate user. How can I do that?
Answer the question
In order to leave comments, you need to log in
For starters, Linux is a lot. Specify in which file the launch of the daemon is described, in fact, the file itself can be thrown.
In the old init.d, most likely just via runuser or su
in the new one declaratively in the unit file
[Service]
User=anotheruser
Group=anothergroup
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question