How to run NiFi as Non-Root User?
NiFi can be deployed to run as any non-root user. By default NiFi runs as user "nifi", but this can be modified.
For instructions, https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html then go to 'Admin Guide' then go to 'Bootstrap Properties’. In there it talks about 'run.as'

