Quantcast
Channel: Trouble Shooting - Mattermost Peer-to-Peer Forum
Viewing all articles
Browse latest Browse all 327

[SOLVED] Mattermost executed as root? Is this secure?

$
0
0

@leonardobertolo wrote:

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.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 327

Trending Articles