oVirt - Users / Permissions

http://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles/

Příkazy na enginu

ovirt-aaa-jdbc-tool user --help
ovirt-aaa-jdbc-tool user show admin
ovirt-aaa-jdbc-tool settings show

Add user:

ovirt-aaa-jdbc-tool user add --help
 
ovirt-aaa-jdbc-tool user add test1 --attribute=firstName=John --attribute=lastName=Doe 
password:
 
# nastavení / reset hesla
ovirt-aaa-jdbc-tool user password-reset --help
ovirt-aaa-jdbc-tool user password-reset test1 --password-valid-to="2025-08-01 12:00:00-0800"

Edit attribute:

ovirt-aaa-jdbc-tool user edit test1 --attribute=email=jdoe@example.com

Delete user:

ovirt-aaa-jdbc-tool user delete test1

Změna hesla admin@internal

# To change the password in interactive mode, run the following command. 
# You must set a value for --password-valid-to, otherwise the password expiry time defaults to the current time. 
# The date format is yyyy-MM-dd HH:mm:ssX. In this example, Z stands for UTC time. 
# For more options, run ovirt-aaa-jdbc-tool user password-reset --help.
 
ovirt-aaa-jdbc-tool user password-reset admin --password-valid-to="2025-08-01 12:00:00Z"

Vypnout účet:

ovirt-aaa-jdbc-tool user edit admin --flag=+disabled

Zapnout účet:

ovirt-aaa-jdbc-tool user edit admin --flag=-disabled