nick147 wrote: ↑Mon Mar 21, 2022 11:05 am
I would like to know, is it possible to run unimus service under regular user, not root on Debian?
If answer is Yes, how to correctly do it?
Hi. Yes, this is possible. However, parts of Unimus will not work when running as a non-root user. On Linux, a raw-type socket is required when sending ICMP packets, and only root can create raw sockets. Since Unimus needs to send out ping packets to the network, it needs to run as root.
If you are OK with parts of the application not working, we have an article on our Wiki that shows how to run Unimus as non-root:
https://wiki.unimus.net/display/UNPUB/R ... s+non-root
Please note this is not recommended (nor supported) by us, as it can create exceptions and errors in the application due to failed actions because of lack of permissions. Basically, any features of Unimus that require sending our ICMP packets will not work and will throw errors.