<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: NiFi: Unknown user with identity 'admin'. Contact the system administrator. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Unknown-user-with-identity-admin-Contact-the-system/m-p/209273#M171227</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/209972/nifi-unknown-user-with-identity-admin-contact-the.html?childToView=232034#"&gt;@Yahya Najjar&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Changing the value for "Initial Admin Identity" in your authorizers.xml after NiFi had already been started previously with a different value will not work.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;On NiFi startup, the authorizer looks to see if the following files defined in your authorizers.xml already exist:&lt;/P&gt;&lt;PRE&gt;&amp;lt;property name="Authorizations File"&amp;gt;/&amp;lt;some path&amp;gt;/authorizations.xml&amp;lt;/property&amp;gt;&amp;lt;property name="Users File"&amp;gt;/&amp;lt;some path&amp;gt;/users.xml&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;If they do exist, they will be used for authorization and new versions of these files will not be generated.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Even though you changed the "Initial Admin Identity" property value, it will result in any change being made to the above files. &lt;/P&gt;&lt;P&gt;Since your existing setup already works with your original user certificate, I would suggest authenticating to your NiFi with that certificate and then adding your new user "admin" via the users UI from within the NiFi interface.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;You can always delete/rename the existing "users.xml" and "authorizations.xml" files so that new copies are generated on startup, but keep in mind that you will lose and authorizations you may have manually added through the NiFi interface.&lt;/P&gt;&lt;P&gt;Another option is to manually edit the "users.xml" file and change the original user based on your user certificate value to the new "admin" value. A restart would be needed for this change to be read in by NiFi.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
    <pubDate>Wed, 26 Dec 2018 21:19:38 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2018-12-26T21:19:38Z</dc:date>
  </channel>
</rss>

