[ovirt-users] [3.6] Change admin password

Yedidyah Bar David didi at redhat.com
Sun Nov 15 08:37:36 UTC 2015


On Fri, Nov 13, 2015 at 9:27 PM, Martin Perina <mperina at redhat.com> wrote:
> Hi,
>
> you changed a password, but it expired at the same moment you have changed it. Please execute:
>
>   ovirt-aaa-jdbc-tool user password-reset admin --password-valid-to='yyyy-MM-dd hh:mm:ssZ'
>
> and set to desired date.
>
> For more info about aaa-jdbc features please take a look at http://www.ovirt.org/Features/AAA_JDBC
>
> Thanks
>
> Martin Perina
>
>
>  Maksim Naumov <maksim.naumov at hitmeister.de> wrote:
>> I tried
>>
>> # ovirt-aaa-jdbc-tool user password-reset admin --force
>> --password=pass:XXXXXX
>> updating user admin...
>> user updated successfully
>>
>> But then I can't login. Everything that I can see is:
>> Cannot Login. User Account is Disabled or Locked, Please contact your
>> system administrator.
>>
>> # ovirt-aaa-jdbc-tool user show admin
>> -- User admin(02b986a1-9dde-4f2a-b398-941c056c20d0) --
>> Namespace: *
>> Name: admin
>> ID: 02b986a1-9dde-4f2a-b398-941c056c20d0
>> Display Name:
>> Email:
>> First Name: admin
>> Last Name:
>> Department:
>> Title:
>> Description:
>> Account Disabled: false
>> Account Unlocked At: 2015-11-13 15:37:35Z
>> Account Valid From: 2015-11-06 07:09:37Z
>> Account Valid To: 2215-11-06 07:09:37Z
>> Account Without Password: false
>> Last successful Login At: 2015-11-13 14:28:33Z
>> Last unsuccessful Login At: 2015-11-13 14:37:35Z
>> Password Valid To: 2215-09-19 07:09:38Z
>>
>> Ok .... how can I set my password ???
>>
>>
>> On Fri, Nov 13, 2015 at 3:30 PM, Ondra Machacek <omachace at redhat.com> wrote:
>>
>> > $ ovirt-aaa-jdbc-tool user password-reset admin
>> > --password=pass:YourNewPassword
>> >
>> > Go over it's help to understand all options.
>> >
>> >
>> > On 11/13/2015 03:23 PM, Maksim Naumov wrote:
>> >
>> > Hello
>> >
>> > How can I change admin password?
>> >
>> > I tried
>> >
>> > # engine-config -s AdminPassword=interactive
>> > Error setting AdminPassword's value. No such entry.

We might want 'engine-config' give a more useful error message, and/or edit
relevant wiki pages accordingly.

Best,
-- 
Didi



More information about the Users mailing list