You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Amin Adatia <am...@outlook.com> on 2023/12/16 20:20:44 UTC
NiFi 1.16.3 How to create a User in Single User Mode -- Windows 11
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
[cid:59bb94d8-fd22-46e3-9b8c-be2c00409a0d]
Regards,
Amin
Re: NiFi 1.16.3 How to create a User in Single User Mode -- Windows 11
Posted by David Handermann <ex...@apache.org>.
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 <am...@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
Re: NiFi 1.16.3 How to create a User in Single User Mode -- Windows 11
Posted by Amin Adatia <am...@outlook.com>.
Hi
I found the default username and password in the log file. Still how do I change these
Regards
Amin
________________________________
From: Amin Adatia <am...@outlook.com>
Sent: Saturday, December 16, 2023 15:20
To: dev@nifi.apache.org <de...@nifi.apache.org>
Subject: NiFi 1.16.3 How to create a User in Single User Mode -- Windows 11
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
[cid:59bb94d8-fd22-46e3-9b8c-be2c00409a0d]
Regards,
Amin