This worked for me, hope it works for you:
# ovirt-aaa-jdbc-tool user show ocpintegrationuser
-- User ocpintegrationuser(125db979-116e-4332-a6b7-fac19ff362ce) --
Namespace: *
Name: ocpintegrationuser
ID: 125db979-116e-4332-a6b7-fac19ff362ce
Display Name:
Email:
First Name: ocpintegrationuser
Last Name:
Department:
Title:
Description:
Account Disabled: false
Account Locked: false
Account Unlocked At: 2021-07-28 13:10:06Z
Account Valid From: 2021-07-27 23:22:17Z
Account Valid To: 2221-07-27 23:22:17Z
Account Without Password: false
Last successful Login At: 2021-07-30 01:24:45Z
Last unsuccessful Login At: 2021-07-28 13:09:50Z
Password Valid To: 2022-01-24 00:57:38Z
# ovirt-aaa-jdbc-tool user edit ocpintegrationuser
--password-valid-to="2221-07-23 23:15:16Z"
updating user ocpintegrationuser...
user updated successfully
# ovirt-aaa-jdbc-tool user show ocpintegrationuser
-- User ocpintegrationuser(125db979-116e-4332-a6b7-fac19ff362ce) --
Namespace: *
Name: ocpintegrationuser
ID: 125db979-116e-4332-a6b7-fac19ff362ce
Display Name:
Email:
First Name: ocpintegrationuser
Last Name:
Department:
Title:
Description:
Account Disabled: false
Account Locked: false
Account Unlocked At: 2021-07-28 13:10:06Z
Account Valid From: 2021-07-27 23:22:17Z
Account Valid To: 2221-07-27 23:22:17Z
Account Without Password: false
Last successful Login At: 2021-07-30 01:27:15Z
Last unsuccessful Login At: 2021-07-28 13:09:50Z
Password Valid To: 2221-07-23 23:15:16Z
On Thu, Jul 29, 2021 at 9:12 PM Scott Worthington <
scott.c.worthington(a)gmail.com> wrote:
On Thu, Jul 29, 2021 at 8:42 PM <louisb(a)ameritech.net> wrote:
> I've create a new user using ovirt-aaa-jdbc-tool, I'm unable to use the
> account because the password expiration date has passed. I'm now trying to
> change the password expiration using the following command:
>
> sudo ovirt-aaa-jdbc-tool user edit --password-valid-to=2025-12-31 00:00:00
>
> The above command is not working, I've tried several different formats
> using double quotes and single quotes, onluy using the date without the
> time. I've not been able to get anything working, what format should the
> above command be in?
>
> Thanks
>
>
Take a look at the command on this page:
https://www.ovirt.org/develop/release-management/features/infra/aaa-jdbc....
The example has:
ovirt-aaa-jdbc-tool user password-reset jdoe --password-valid-to="2025-08-15
10:30:00Z"
You are missing quotes and perhaps a "Z" for the timezone.