You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2015/12/19 00:32:46 UTC

[jira] [Updated] (NIFI-1311) nifi.sh invokes sudo for run.as even if it is the same as user executing

     [ https://issues.apache.org/jira/browse/NIFI-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aldrin Piri updated NIFI-1311:
------------------------------
    Attachment: NIFI-1311.0001.patch

> nifi.sh invokes sudo for run.as even if it is the same as user executing
> ------------------------------------------------------------------------
>
>                 Key: NIFI-1311
>                 URL: https://issues.apache.org/jira/browse/NIFI-1311
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 0.4.0
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>            Priority: Minor
>         Attachments: NIFI-1311.0001.patch
>
>
> nifi.sh, when evaluating if a run.as user is set, invokes the process via sudo even if the specified run.as user is the same as the person executing it.  
> While this typically isn't an issue, depending on environment configuration with sudo, this could lead to unexpected behavior with environment variables possibly being lost in the process.



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