Thanks you!
You are right, I have resolved it.
From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Artur Socha
Sent: Friday, January 15, 2021 5:21 PM
To: tommy <sz_cuitao@163.com>
Cc: users <users@ovirt.org>
Subject: [ovirt-users] Re: Create new user, but why cannot login ?
Hi Tommy,
It looks you are missing some permissions (roles)? Are you trying to login to the administration panel(that's my guess) or to VM portal?
Anyway, to resolve this issue assign relevant roles to that newly created user using your admin account.
Artur
On Fri, Jan 15, 2021 at 7:10 AM tommy <sz_cuitao@163.com> wrote:
I just create a new user:
[root@oeng ~]# ovirt-aaa-jdbc-tool user add cuitao
adding user cuitao...
user added successfully
[root@oeng ~]# ovirt-aaa-jdbc-tool user password-reset cuitao
Password:
Reenter password:
updating user cuitao...
user updated successfully
[root@oeng ~]# ovirt-aaa-jdbc-tool user edit cuitao --password-valid-to="2221-01-15 05:23:41Z"
updating user cuitao...
user updated successfully
[root@oeng ~]# ovirt-aaa-jdbc-tool user show cuitao
-- User cuitao(300163db-8352-4fbd-86ac-d25014364f08) --
Namespace: *
Name: cuitao
ID: 300163db-8352-4fbd-86ac-d25014364f08
Display Name:
Email: sz_cuitao@163.com
First Name: tommy
Last Name: cui
Department:
Title:
Description:
Account Disabled: false
Account Locked: false
Account Unlocked At: 1970-01-01 00:00:00Z
Account Valid From: 2021-01-15 05:23:41Z
Account Valid To: 2221-01-15 05:23:41Z
Account Without Password: false
Last successful Login At: 2021-01-15 05:54:49Z
Last unsuccessful Login At: 2021-01-15 05:32:12Z
Password Valid To: 2221-01-15 05:23:41Z
And I give VmCreator Role to the new account.
But why cannot login ?
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/YSYU4LSH42ENIVVKE6FDVR4KCDUOQIRX/
--
Artur Socha
Senior Software Engineer, RHV
Red Hat