- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to update username and password in Apache NiFi Windows ?
- Labels:
-
Apache NiFi
Created 02-19-2023 10:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created on 02-22-2023 09:59 PM - edited 02-22-2023 10:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Everything works fine after restarting my PC
Created 02-22-2023 04:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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^""
Created on 02-22-2023 09:59 PM - edited 02-22-2023 10:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. Everything works fine after restarting my PC
