Foren
Admin password has expired.Please contact an administrator to reset passwor
Manish Yadav, geändert vor 11 Jahren.
Admin password has expired.Please contact an administrator to reset passwor
Expert Beiträge: 493 Beitrittsdatum: 26.05.12 Neueste 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.
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, geändert vor 11 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
Liferay Master Beiträge: 522 Beitrittsdatum: 29.08.11 Neueste Beiträge1. 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, geändert vor 11 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
Regular Member Beiträge: 162 Beitrittsdatum: 28.02.11 Neueste Beiträge
I hope this link will help you out.
vkbardia.blogspot.in/2012/11/reset-adminusers-password-by-hook.html
Regards,
Vipin Bardia
vkbardia.blogspot.in/2012/11/reset-adminusers-password-by-hook.html
Regards,
Vipin Bardia
Hitoshi Ozawa, geändert vor 11 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
Liferay Legend Beiträge: 7942 Beitrittsdatum: 24.03.10 Neueste 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.
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.
TARUN ROHILA, geändert vor 8 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
New Member Beiträge: 19 Beitrittsdatum: 14.09.14 Neueste Beiträge
Change password modified date to latest date in User_ table for the user you want to login.
passwordModifiedDate
2015-10-19 05:37:34.557
passwordModifiedDate
2015-10-19 05:37:34.557
David H Nebinger, geändert vor 8 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
Liferay Legend Beiträge: 14915 Beitrittsdatum: 02.09.06 Neueste Beiträge
Won't work, Tarun. Liferay caches much of the user table locally in a lucene index, including the date.
DB modifications are not always the right answer, especially in Liferay.
DB modifications are not always the right answer, especially in Liferay.
Pablo Luna, geändert vor 7 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
New Member Beitrag: 1 Beitrittsdatum: 09.11.16 Neueste Beiträge
You must to set in your portal-ext.properties to avoid caching users in memory by liferay.
Then portlet.login always ask to database.
value.object.finder.cache.enabled.com.liferay.portal.model.User=false
Then portlet.login always ask to database.
David H Nebinger, geändert vor 7 Jahren.
RE: Admin password has expired.Please contact an administrator to reset pas
Liferay Legend Beiträge: 14915 Beitrittsdatum: 02.09.06 Neueste Beiträge
This is not a setting you want to have on all the time as it's a performance degradation.
Plus to change the value requires an app server restart.
Plus to change the value requires an app server restart.