<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:08:29 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[AAA-44] Changing a user password requires external tools</title>
                <link>https://jira.opendaylight.org/browse/AAA-44</link>
                <project id="10102" key="AAA">aaa</project>
                    <description>&lt;p&gt;As explained in this wiki page:&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/Connecting_to_IdmLight_with_psql&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/Connecting_to_IdmLight_with_psql&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Changing a user password is complex. This should presumably be an easier task as every user of OpenDaylight will want to do that immediately after installing it.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22295">AAA-44</key>
            <summary>Changing a user password requires external tools</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Cannot Reproduce</resolution>
                                        <assignee username="rgoulding">Ryan Goulding</assignee>
                                    <reporter username="colindixon">Colin Dixon</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 Jun 2015 19:55:51 +0000</created>
                <updated>Thu, 21 Mar 2019 11:56:41 +0000</updated>
                            <resolved>Mon, 26 Sep 2016 13:34:10 +0000</resolved>
                                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="42212" author="rgoulding" created="Tue, 21 Jul 2015 12:45:11 +0000"  >&lt;p&gt;Yesterday I verified that this works to update a user record:&lt;/p&gt;

&lt;p&gt;curl -X PUT -s -H &quot;Content-type:application/json&quot; --data-binary @user.json https//&amp;lt;controller&amp;gt;:8181/auth/v1/users/1&lt;/p&gt;

&lt;p&gt;Contents of user.json:&lt;br/&gt;
{&lt;br/&gt;
&quot;name&quot;:&quot;newadmin&quot;,&lt;br/&gt;
&quot;description&quot;:&quot;newadmin test user&quot;,&lt;br/&gt;
&quot;enabled&quot;:&quot;true&quot;,&lt;br/&gt;
&quot;email&quot;:&quot;theoneandonlyadmin@gmail.com&quot;,&lt;br/&gt;
&quot;password&quot;:&quot;foobar&quot;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Improper behavior was exhibited due to &lt;a href=&quot;https://jira.opendaylight.org/browse/OVSDB-143&quot; title=&quot;Need to define OVSDB Clustering/Data Persistence Behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;OVSDB-143&quot;&gt;&lt;del&gt;OVSDB-143&lt;/del&gt;&lt;/a&gt; which has since been resolved in stable/lithium and master.   I am closing this out now as &quot;Works for me&quot;.&lt;/p&gt;</comment>
                            <comment id="42213" author="rgoulding" created="Tue, 21 Jul 2015 13:10:41 +0000"  >&lt;p&gt;Created this page to document this better:&lt;br/&gt;
&lt;a href=&quot;https://wiki.opendaylight.org/view/AAA:Changing_Account_Passwords&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/AAA:Changing_Account_Passwords&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="42214" author="vrpolak" created="Fri, 7 Aug 2015 13:33:23 +0000"  >&lt;p&gt;I have an off-topic question.&lt;/p&gt;

&lt;p&gt;&amp;gt; &lt;a href=&quot;https://wiki.opendaylight.org/view/AAA:Changing_Account_Passwords&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/AAA:Changing_Account_Passwords&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Both methods require ODL to be started at least once with admin:admin default credentials, which is not secure.&lt;/p&gt;

&lt;p&gt;Is there an Improvement item somewhere, which asks for idmlight.db.mv.db to be created already during &lt;/p&gt;
{project}
&lt;p&gt;&lt;del&gt;distribution&lt;/del&gt;&lt;/p&gt;
{stream}
&lt;p&gt; job run, so that the file is already present in released tar.gz file (thus available forthe second method)?&lt;/p&gt;

&lt;p&gt;The easiest way would be for AAA project to create and upload the file to Nexus, and integration/distribution would copy it in.&lt;/p&gt;</comment>
                            <comment id="42215" author="rgoulding" created="Fri, 7 Aug 2015 13:38:10 +0000"  >&lt;p&gt;This is a good idea.  I will create a trello card to address this.&lt;/p&gt;

&lt;p&gt;We will also need to add a script to do the &quot;second method&quot; which has changed just the other day since passwords are now salted and encrypted using MD5.  I will also add a card for this.&lt;/p&gt;</comment>
                            <comment id="42216" author="rgoulding" created="Fri, 7 Aug 2015 13:41:45 +0000"  >&lt;p&gt;Added here:&lt;br/&gt;
&lt;a href=&quot;https://trello.com/b/kkUQaCv6/aaa-berylium&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://trello.com/b/kkUQaCv6/aaa-berylium&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I will work with the team to get these issues addressed.  If you are interested in helping with implementation, please let me know!&lt;/p&gt;</comment>
                            <comment id="42217" author="vrpolak" created="Mon, 10 Aug 2015 10:53:33 +0000"  >&lt;p&gt;&amp;gt; If you are interested in helping with implementation, please let me know!&lt;/p&gt;

&lt;p&gt;I do not really have time to write code, but I can perhaps comment and review.&lt;br/&gt;
My trello user is &lt;a href=&quot;https://trello.com/vratkopolak&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://trello.com/vratkopolak&lt;/a&gt; in case you want me to have write access to cards on your board.&lt;/p&gt;

&lt;p&gt;Now I think it is better for the packaged file to have a different name, for example &quot;example.idmlight.db.mv.db&quot;.&lt;br/&gt;
The point is to be more resilient against accidental &quot;tar xf&quot; destroying configured credentials without anyone noticing.&lt;/p&gt;</comment>
                            <comment id="42218" author="sunaina.khanna@tcs.com" created="Mon, 19 Sep 2016 10:07:50 +0000"  >&lt;p&gt;Hi&lt;/p&gt;

&lt;p&gt;I am trying to modify the password by performing the steps mentioned above but still when I am trying to log in ODL, I am unable to do so with the new password.&lt;/p&gt;

&lt;p&gt;Step 1: curl -u admin:admin &lt;a href=&quot;http://localhost:8181/auth/v1/users&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/auth/v1/users&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Step 2: cat user.json &lt;br/&gt;
{&lt;br/&gt;
&quot;name&quot;:&quot;admin&quot;,&lt;br/&gt;
&quot;description&quot;:&quot;admin account&quot;,&lt;br/&gt;
&quot;enabled&quot;:&quot;true&quot;,&lt;br/&gt;
&quot;email&quot;:&quot;&quot;,&lt;br/&gt;
&quot;password&quot;:&quot;newadminpassword&quot;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;Step 3: curl -u admin:admin -X PUT -H &quot;Content-Type: application/json&quot; --data-binary @./user.json &lt;a href=&quot;http://localhost:8181/auth/v1/users/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/auth/v1/users/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Please suggest.&lt;/p&gt;</comment>
                            <comment id="42219" author="rgoulding" created="Mon, 19 Sep 2016 12:16:57 +0000"  >&lt;p&gt;The id is wrong in your URL:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/auth/v1/users/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/auth/v1/users/1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;should be:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://localhost:8181/auth/v1/users/admin@sdn&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://localhost:8181/auth/v1/users/admin@sdn&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;Also, there is a script that does this now located in the etc folder upon feature installation.  You can invoke the help function by this:&lt;/p&gt;

&lt;p&gt;python etc/idmtool -h&lt;/p&gt;</comment>
                            <comment id="42220" author="vrpolak" created="Mon, 26 Sep 2016 13:34:10 +0000"  >&lt;p&gt;&amp;gt; there is a script that does this now located in the etc folder&lt;/p&gt;

&lt;p&gt;Why &quot;etc&quot;? I believe &quot;bin&quot; is much better folder for executable scripts.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3911</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=3911]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i023r3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>