Don’t do this in production environments! Following this procedure will store passwords in clear text in your database!
It can be useful if you want to reset default admin user password, or somebody’s password in a test environment.
Find the user id of the user you want to reset his password. Pretty easy to find in database (hint: table User_ ;) )
- Stop Liferay
- Execute this query
- Start Liferay
- Login with new password! It’s working fine :)
Did I say that you should not do it in production environments? ;)