[ovirt-users] Re: Create new user, but why cannot login ?

2021-01-15 Thread tommy
Thanks you!

 

You are right, I have resolved it.

 

 

 

 

 

From: users-boun...@ovirt.org  On Behalf Of Artur Socha
Sent: Friday, January 15, 2021 5:21 PM
To: tommy 
Cc: users 
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  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_cui...@163.com <mailto:sz_cui...@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 <mailto:users@ovirt.org> 
To unsubscribe send an email to users-le...@ovirt.org 
<mailto:users-le...@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

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/27DSMJUICMCACUAS4LWLLIFQQPXV2YO7/


[ovirt-users] Re: Create new user, but why cannot login ?

2021-01-15 Thread Artur Socha
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  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_cui...@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-le...@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
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/OSHRCZN4IU34H3MCBYNOED725SIVKW7Q/