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 should be ok to just use this command: chown -R nifi /opt/nifi/nifi-current
If you use a username of nifi and if the running nifi is in folder /opt/nifi/nifi-current Kind regards Jens M. Kofoed > Den 8. aug. 2021 kl. 18.46 skrev Lovish Gulati <lovishgul...@gmail.com>: > > Hi, > > When running Nifi on CentOS 7 as a non-root user by using run.as= option, > does that non-root user need sudo or su capability? > Please advise. > > Thanks > Lovish