Vault - Getting error "The password must contain at least <nn> characters" when running the dbscript to reset the 'master' user password.

Vault - Getting error "The password must contain at least <nn> characters" when running the dbscript to reset the 'master' user password.

111
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:58 PM


Symptom


When running the Master User Password reset dbscript, the following error appears:
"The password must contain at least <nn> characters"


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Vault Server PAS (any version)

Cause


The 'PassParm.ini' file, in the 'Server\Conf' installation folder, contains the parameters values for each Password Policy. A typical passparm.ini file looks like this:
[MAIN]
CheckUserName=Yes
NameTolerance=4
MinAlphabetic=1
MinNumeric=1
MinPunctuation=0
MinLength=15
MustMixCase=Yes
MinUnique=4
DaysForPasswordExpiration=30
PasswordsRemembered=24
MinAge=0
MaxRepeatingCharacters=3
The parameter 'MinLength=15' sets the minimum length for the passwords.

Typically, the password provided by PS Operations for the master user password reset is 10 characters long, as the default 'MinLength' value is 8.
However, if the 'MinLength' value in passparm.ini has been modified by the customer, and it is greater than 10, the error message rises.


Resolution


  1. Make a backup copy of the current passparm.ini.
  2. Edit passparm.ini and set the 'MinLength' value to 8 (the default value).
  3. Save the passparm.ini file.
  4. Rerun the dbscript to reset the Master User Password.
  5. When done, restore the previous passparm.ini from the backup copy.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000015iSCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail