[ 
https://issues.apache.org/jira/browse/NIFI-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824587#comment-15824587
 ] 

ASF GitHub Bot commented on NIFI-3015:
--------------------------------------

Github user jfrazee commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1422#discussion_r96305976
  
    --- Diff: nifi-assembly/pom.xml ---
    @@ -19,6 +19,10 @@ language governing permissions and limitations under the 
License. -->
         <artifactId>nifi-assembly</artifactId>
         <packaging>pom</packaging>
         <description>This is the assembly Apache NiFi</description>
    +    <!--Add a blank run.as in case RPM isn't being used -->
    +    <properties>
    +        <nifi.run.as />
    --- End diff --
    
    @trixpan Including this at the top level means that with the rpm profile, 
the bootstrap.conf included in the .tar.gz and .zip packages has run.as=nifi. 
Is this the right behavior?


> NiFi service starts from root user after installation
> -----------------------------------------------------
>
>                 Key: NIFI-3015
>                 URL: https://issues.apache.org/jira/browse/NIFI-3015
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 1.1.0
>         Environment: Centos 7.2
>            Reporter: Artem Yermakov
>            Assignee: Andre
>            Priority: Critical
>
> When install NiFi using command nifi.sh install, and then start NiFi by 
> command service nifi start, NiFi will start from user root.
> I suggest to run it from user nifi which is created during rpm installation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to