work around for "Cannot Login. User Password has expired, Please change your password" in RHEVM User Portal

Latest response

After installing IPA and creating accounts with ipa user-add and setting password with ipa passwd <user>

I was denied access to the Power User Portal with that account due to a Password expired message. The following messages were also logged into /var/log/rhevm/rhevm.log:

2012-01-26 23:38:48,884 ERROR [org.ovirt.engine.core.bll.LoginBaseCommand] (http-0.0.0.0-8443-2) USER_PASSWORD_EXPIRED : rhevuser
2012-01-26 23:38:48,884 WARN  [org.ovirt.engine.core.bll.LoginUserCommand] (http-0.0.0.0-8443-2) CanDoAction of action LoginUser failed. Reasons:USER_PASSWORD_EXPIRED

 

I couldn't find this documented, but a work around that worked for me was found posted elsewhere by simo. The trick is to use the kinit to change password as seen here:

 

[root@rhevm rhevm]# kinit rhevpower
Password for rhevpower@DEMO.REDHAT.COM:
Password expired.  You must change it now.
Enter new password:
Enter it again:

Responses