Re: Running nifi as non-root user

2021-08-09 Thread Chad Zobrisky
If the run.as user is set, the user who is starting nifi will need 'sudo -u' access, according to the nifi.sh script. If you want to avoid sudo access, just make sure the user executing nifi.sh is the correct user, eg. nifi. See line 327 [1] in nifi.sh. This is my understanding at least. If some

Re: Running nifi as non-root user

2021-08-09 Thread Edward Armes
You should also be aware, that you might have some issues listening or using protected/privileged ports (1 - 1023 inclusive) Regards Edward On Mon, 9 Aug 2021, 08:58 Jens M. Kofoed, wrote: > No. But the user need rwx rights to all the folders which is configured > for NiFi. And read+write to

Re: Running nifi as non-root user

2021-08-09 Thread Jens M. Kofoed
No. But the user need rwx rights to all the folders which is configured for NiFi. And read+write to all the files. I create a user which is not allowed to login and change owners to all the different folders. If you don’t charge folders for NiFi database, provanace, content, logs etc. you shoul