Set password requirements
If the server is configured for local Pentaho security authentication, users can change their own passwords. Additionally, as a Pentaho administrator, you can add options to set minimum password length and pre-defined character requirements. See Set the Authentication Method for instructions on setting local or external security authentication.
Perform the following steps to set password requirements:
- Navigate to the - server/pentaho-server/pentaho-solutions/systemdirectory and open the- security.propertiesfile with any text editor.- By default, the password length is set to - 0and the special character requirement is set to- false, as shown in the following example code:- PUC_USER_PASSWORD_LENGTH=0 PUC_USER_PASSWORD_REQUIRE_SPECIAL_CHARACTER=false
- Change the default values in the - security.propertiesfile to your password requirements:- Set - PUC_USER_PASSWORDto the minimum valid password length.- The acceptable password length is one plus the minimum length you set. For example, if you set - PUC_USER_PASSWORD=10, the acceptable password length is 11 or more. You can set the minimum length to be between 1 and 99. If you set the minimum length to zero (- PUC_USER_PASSWORD=0) this requirement is disabled.
- Set - PUC_USER_PASSWORD_REQUIRE_SPECIAL_CHARACTERto true (- PUC_USER_PASSWORD_REQUIRE_SPECIAL_CHARACTER=true) to require use of special characters to enforce stronger passwords.- When this requirement is set to - true, the system checks for special characters. The password is not accepted if it does not include a #, @, $, %, or ! special character.
 
- Save and close the file. 
- Restart the Pentaho Server. 
You now have in place password requirements based on the length and special character options you set in the security.properties file.
Last updated
Was this helpful?

