Hi Amin,

The screenshot did not come through, but the command required for
Windows is nifi.cmd, not nifi.sh. Jira issue NIFI-9500 [1] added
nifi.cmd for Windows in NiFi 1.18.0, so that is the minimum version
required.

At this point, version 1.16.3 is a number of revisions behind the
current versions including 2.0.0-M1 and 1.24.0. Starting with the
latest version is the best approach.

Using the latest version of NiFi, it is possible to run the following
command on Windows:

bin\nifi.cmd set-single-user-credentials newUsername newPassword

Substitute a username of your choice for newUsername, and a password
of at least 12 characters for newPassword.

Regards,
David Handermann

[1] https://issues.apache.org/jira/browse/NIFI-9500

On Sat, Dec 16, 2023 at 2:25 PM Amin Adatia <amin.ada...@outlook.com> wrote:
>
> Hi
>
> I have installed nifi-1.16.3 and I would like to find out how to create a 
> User in single User Mode
>
> the Admin documentation says to run
>
> $ ./bin/nifi.sh set-single-user-credentials <username> <password>
>
> but this is Linux command
>
> This is what I get when I run https://localhost:8443/nifi
>
>
>
> Regards,
> Amin

Reply via email to