Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

How to update username and password in Apache NiFi Windows ?

avatar
Explorer

is there anyway to change username and credential for Nifi in Windows ? 
there is a command in Documentation to change it but I guess it works only in Linux

1 ACCEPTED SOLUTION

avatar
Explorer

Thanks. Everything works fine after restarting my PC

View solution in original post

2 REPLIES 2

avatar

Well you have two sets of files, one for windows and one for linux. If you go ahead and open the nifi.cmd File, you can see that you can run the file with the arguments set-single-user-credentials and with the username and password in quotes:
nifi.cmd set-single-user-credentials "username" "password"

if %RUN_COMMAND% == "set-single-user-credentials" (
rem Set credentials with quoted arguments passed to Java command
set "CREDENTIALS=^"%~2^" ^"%~3^""

 

avatar
Explorer

Thanks. Everything works fine after restarting my PC