Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to update username and password in Apache NiFi Windows ?

New Contributor

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

New Contributor

Thanks. Everything works fine after restarting my PC

View solution in original post

2 REPLIES 2

Expert Contributor

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^""

 

New Contributor

Thanks. Everything works fine after restarting my PC

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.