Foren

Home » Liferay Portal » English » 3. Development

Kombinierte Ansicht Flache Ansicht Baumansicht
Threads [ Zurück | Nächste ]
toggle
Manish Yadav
Admin password has expired.Please contact an administrator to reset passwor
19. November 2012 06:41
Antwort

Manish Yadav

Rang: Expert

Nachrichten: 384

Eintrittsdatum: 26. Mai 2012

Neue Beiträge

Hi All,

I activated password policy in which password got automatically expire after 180 days.I can reset password of normal user using admin account[test user using control panel ] But i'm facing one problem in which admin password got expired[Test user].when i'm trying to login using admin credentials i'm getting error Your password has expired. Please contact an administrator to reset your password .

I tried below steps but didn't get success
1. I changed password in User_ table manually [password_ and passwordEncrypted] columns]
2. I changed passwordReset value 1 to 0
3. I tired with forget password option
4. In Portal-ext.properties i mentioned passwords.default.policy.name=Default Password Policy

can anybody please let me know how i can reset admin expired password.
Bart Simpson
RE: Admin password has expired.Please contact an administrator to reset pas
19. November 2012 07:55
Antwort

Bart Simpson

Rang: Liferay Master

Nachrichten: 523

Eintrittsdatum: 29. August 2011

Neue Beiträge

11. I changed password in User_ table manually [password_ and passwordEncrypted] columns]

Did you change the value of "passwordEncrypted" ? It usually works when you tell liferay that the passwords are not encrypted and copy the value of password directly from db.
I'll try and check myself, could you also try to change the value of passwordModifiedDate so it matches the changed policy.
Vipin Bardia
RE: Admin password has expired.Please contact an administrator to reset pas
19. November 2012 13:28
Antwort

Vipin Bardia

Rang: Regular Member

Nachrichten: 105

Eintrittsdatum: 27. Februar 2011

Neue Beiträge

I hope this link will help you out.

vkbardia.blogspot.in/2012/11/reset-adminusers-password-by-hook.html

Regards,
Vipin Bardia
Hitoshi Ozawa
RE: Admin password has expired.Please contact an administrator to reset pas
19. November 2012 15:23
Antwort

Hitoshi Ozawa

Rang: Liferay Legend

Nachrichten: 7954

Eintrittsdatum: 23. März 2010

Neue Beiträge

Values you enter from Control Panel is going to overwrite any settings you've specified in portal-ext.properties so if you set the password policy from the Control Panel, changing portal-ext.properties won't do it.

Are you shutting down you liferay when changing database values directly. Liferay caches data in memory so you'll need to either flush or shutdown liferay to force liferay to re-read values from the database.