After logging into ProcessMaker, any user can change his/her password by clicking on his/her username in the upper right-hand corner of the screen next to the "Logout" link. When the information about the user is displayed, click on the "Edit" button at the lower right-hand corner. Go to section Change Password, enter the current password then the new password twice and finally, click on Save.
If a user can not remember the password, he/she can ask other users with PM_USERS permission in their role to change the password. The 'admin' user has this permission as well as other users with the PROCESSMAKER_ADMIN role.
In ProcessMaker, it is not possible to look up a user's unencrypted password, but it is possible to change the password by going to USERS > USERS LIST and clicking on the View link for the user. Once viewing the information about the user, click on the Edit link to alter that information. Enter a new password and confirm it by re-entering it a second time and click Save. The next time the user logs in, he/she should be able to use the new password.
Lost 'admin' Passwords
Nonetheless, there is no easy way to change the password if the password is lost for the 'admin' and all the other users with the PM_USERS permission. In that case, follow the procedure below to reset the password.
All ProcessMaker passwords are stored in a standard MySQL table, so you can easily look them up. However, they are encrypted as 128 bit MD5 hashes, so it is difficult to decrypt them, unless you have a lot of computing power on your hands.
The best solution is to create a new password and insert it directly into the MySQL table in place of the old password. To do this, you will need access to the server where ProcessMaker is installed. You will also need to know the root password for MySQL, so you can access the rb_<workspace> database where the passwords are stored. If you have forgotten this password as well, see these instructions to reset the root password.
Generate the new password
First, create a new password hash for the user with MD5. If you are in Linux/UNIX, simply use the md5sum command to create a string of 32 hexidecimal characters.
Replace mypassword with your new password.
If using Windows, write a PHP script to generate an MD5 hash. In the following script, replace "newpassword" with your new password:
Save the script to a file called password.php in your workflow/public_html directory. In Windows, it is generally located at:
- C:\Program Files\ProcessMaker\apps\processmaker\htdocs\workflow\public_html\
In Linux/UNIX, it is generally located at:
Then direct your web browser to http://<your-ip-address>/password.php to see the MD5 hash for the password.
Change the Password Stored in MySQL
In Windows open the Command Prompt (found at Start > All Programs > Accessories > Command Prompt) and enter:
In Linux or UNIX, open a terminal and enter:
Once inside MySQL, look up the list of usernames and their passwords in rb_<workspace>.USER which are stored as strings of 32 hexidecimal characters. For most people the WORKSPACE will be the default "workflow".
Now replace the password with the MD5 hash that you just created. In this example, the password for the "admin" user will be replaced:
Now, it should be possible to login to ProcessMaker with the new password.