[
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)