You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@knox.apache.org by Aneela Saleem <an...@platalytics.com> on 2015/08/02 22:07:07 UTC

Start Gateway issue

Hi all,

When i try to start gateway as root, i get the following exception:

gateway must not be run as root

Even if knox was downloaded and installed by the root.

What is the issue here?

Re: Start Gateway issue

Posted by Kevin Minder <ke...@hortonworks.com>.
Aneela,
Jeff is correct.  This is an intentional check.  Services should not be run as root as this can result in security issues.
Kevin.

From: Jeffrey Rodriguez
Reply-To: "user@knox.apache.org<ma...@knox.apache.org>"
Date: Sunday, August 2, 2015 at 8:52 PM
To: "user@knox.apache.org<ma...@knox.apache.org>"
Subject: Re: Start Gateway issue

Hi Aneela running services as non root is more secure. it is very common for services to run as non root like web servers, databases, etc.
Regards,
Jeff Rodriguez

On Sunday, August 2, 2015, Aneela Saleem <an...@platalytics.com>> wrote:
Hi all,

When i try to start gateway as root, i get the following exception:

gateway must not be run as root

Even if knox was downloaded and installed by the root.

What is the issue here?

Re: Start Gateway issue

Posted by Jeffrey Rodriguez <je...@gmail.com>.
Hi Aneela running services as non root is more secure. it is very common
for services to run as non root like web servers, databases, etc.
Regards,
Jeff Rodriguez

On Sunday, August 2, 2015, Aneela Saleem <an...@platalytics.com> wrote:

> Hi all,
>
> When i try to start gateway as root, i get the following exception:
>
> gateway must not be run as root
>
> Even if knox was downloaded and installed by the root.
>
> What is the issue here?
>