nativeInstallerexo-platform-community

Modify a user's password

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

To change the password for a user in eXo Platform, you will have to execute a database query. To do this, execute the following command:

$ psql -U postgres -p POSTGRESQL_PORT -h localhost -d bitnami_exoplatform -c "UPDATE jbid_io_creden c SET text=MD5('YOUR_NEW_PASSWORD') FROM jbid_io u WHERE u.id = c.identity_object_id AND u.name='YOUR_USER_NAME';"

Remember to replace POSTGRESQL_PORT with the port for PostgreSQL (by default 5432), YOUR_NEW_PASSWORD with the new password and YOUR_USER_NAME with the current username of your account in eXo Platform.