Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Mattermost executed as root? Is this secure?

$
0
0

Hi everyone,
I have installed Mattermost following this instructions http://docs.mattermost.com/install/prod-rhel-6.html

The thing is, when using the upstart job in those instructions, when Mattermost is started, it's running with the user 'root'.

sudo touch /etc/init/mattermost.conf
sudo vi /etc/init/mattermost.conf

Copy the following lines into /etc/init/mattermost.conf

start on runlevel [2345]
stop on runlevel [016]
respawn
chdir /opt/mattermost
exec bin/platform

You can manage the process by typing:
sudo start mattermost

Is this an expected behaviour?
How do I change the upstart job to run as the user I've created for this purpose? I think it's more secure that way.

Thank you all in advence for your help.


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>