Password strength requirements

The default minimum password length is 8 characters. Passwords can be up to 1,024 characters in length. To configure a minimum password length requirement on a site-wide basis, set the dm.password.minlength configurable. For example, to require passwords to be at least 16 characters in length, a superuser can run:

p4 configure set dm.password.minlength=16

Certain combinations of security level and P4 Server applications releases require users to set "strong" passwords. P4 Server defines a strong password as:

  • At least dm.password.minlength long, which, by default, is 8 characters.
  • Contains at least two of the following :
    • Uppercase letter(s)
    • Lowercase letter(s)
    • Non-alphabetic character(s)

Although abcd1234 is by default, considered a strong password in an environment with the security configurable set to 2, it is too easy to guess.

To create a secure password that is easy to remember:
  1. Start with a phrase, such as

    Perforce Enterprise-class Version Control.
  2. Make the phrase resemble a single word, such as
    PEnterprise-classVC.
  3. Substitute some letters with different characters, such as ( for C:
    PN2prI$-k|@zV(.