Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

How to elevate a default nifi user to admin - need help!

avatar
Explorer

Hi,

So I have a standard stand alone install of nifi 2.5.0 on windows 10 ( no LDAP etc ) which created a generated username and password, and which allows me to log in fine.

What I want to do is change this existing nifi generated user from being a normal user to an administrator. Its so i can create new processors via the api.  Apparently on the very first login to a new nifi instance it logs you in as admin, but I tried this and couldnt see any options on the menu etc that looked like I had admin privs. But when it starts and runs, it uses port 8400, so its possible someone in the company may have modified the set up slightly? When it starts for the first time it goes through the expansion process.

Can someone please suggest the steps to change the generated normal user to admin level please, or if maybe I'm going about this the wrong way?  I have consulted the following doco but no joy. https://nifi.apache.org/nifi-docs/administration-guide.html#creating-users-groups

I have spent 4 hours today trying to work it out and every time i try making changes to the authorizers.xml and login-authentical-provider.xml and just refuses to start due to java errors.

Any help appreciated

Thanks in advance.

2 REPLIES 2

avatar
Community Manager

@zzzz77, Thank you for your participation in our community. To help you get the best possible answer, I have tagged in our expert @MattWho, who may be able to assist you further.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Explorer

Hi,

I did some further digging and found this post ( below ) which has fixed my problem.

https://community.cloudera.com/t5/Support-Questions/No-show-Users-and-Policies-in-Global-Menu/td-p/3...

This prompted some questions on nifi security and how its supposed to function. My setup is as a stand alone nifi instance on windows 10. The main reason I wanted admin privs for my generated user was to be able to create new processors and links etc.

So I have a couple of questions please:

Once I have created processors etc, should I drop the user back to being a normal user instead of being an admin?

Is Nifi normally designed to be (say) LDAP connected ?

If I wanted to have multiple users as admins, what is the best way to do this on a stand alone instance, or is this something that perhaps should be via LDAP created groups?

I think I may not fully understand the concept behind nifi security and how its supposed to work? I'm new-ish to nifi and am used to windows and its security.

Thanks in advance.