Hello,

I‘m trying to configure Artemis 2.20.0 to run under non-root user. So far 
searching on Google produced zero results 😐

There is a mention of ARTEMIS_USER env variable in broker startup script, so 
I’ve tried to set ARTEMIS_USER=‘myuser‘ in artemis.profile. It still runs under 
root for some reason.

I have also tried to use systemd configuration file from here 
https://medium.com/@hasnat.saeed/setup-activemq-artemis-on-ubuntu-18-04-76bb4975308b
 but still no go. As soon as systemd detects that the process runs under root 
instead of specified user SELinux blocks the execution (as expected).

Is there a way to run Artemis under non-root user, and if yes, how?

--
   Best Regards,

    Vilius Šumskas
    Advantes technologies
    IT manager

Reply via email to