Any straightaway command to change the admin user password when using
keycloak integration ?
On Thu, Sep 22, 2022 at 4:08 PM Ayansh Rocks <shashank123rastogi(a)gmail.com>
wrote:
I am using Keycloak integration but unable to find the way to change
the
password. Can I switch to "AAA" anyhow ?
On Mon, Sep 19, 2022 at 2:15 PM Martin Perina <mperina(a)redhat.com> wrote:
> Hi,
>
> the answer depends if you selected Keycloak integration during
> engine-setup or not. If you are not sure, you can check using following:
>
> 1. What is your username when connecting to webadmin?
> - If it's "admin@ovirt", the you are using Keycloak integration
> - If it's "admin" and profile "internal" then you are
using AAA.
>
> 2. Please take a look at the file
> /etc/ovirt-engine/engine.conf.d/12-setup-keycloak:
> - If the file exists and it contains "KEYCLOAK_BUNDLED=true", then
> you are using Keycloak integration
> - If the file doesn't exists or it contains
"KEYCLOAK_BUNDLED=false",
> then you are using AAA.
>
> If you selected Keycloak inetgration, the you need to login to Keycloak
> administration console and change admin@ovirt password there. More
> information can be found at
>
https://www.keycloak.org/archive/documentation-15.0.html
>
> If you selected AAA, then the steps you posted below are correct.
>
> Unfortunately we don't have yet proper documentation about Keycloak
> integration, which was introduced in oVirt 4.5.1.
>
> Regards,
> Martin
>
>
> On Fri, Sep 16, 2022 at 3:42 PM Ayansh Rocks <
> shashank123rastogi(a)gmail.com> wrote:
>
>> Hi All,
>>
>> Any idea hot to change password of admin user on oVirt 4.5.2.5 ?
>>
>> Below is not working -
>>
>> [root@ovirt]# ovirt-aaa-jdbc-tool user password-reset admin
>> Picked up JAVA_TOOL_OPTIONS: -Dcom.redhat.fips=false
>> Password:
>> Reenter password:
>> updating user admin...
>> user updated successfully
>> [root@delhi-test-ovirtm-02 ~]#
>>
>> Above shows successful but password not changed.
>>
>> Thanks
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)ovirt.org
>> Privacy Statement:
https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>>
https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>>
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YYEHEQU3HIH...
>>
>
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.
>