Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# Setting passwords

To create a password for your P4 Server user, issue the `p4 passwd` command.

Passwords can be up to 1,024 characters in length. Your system administrator can configure P4 Server to require:

- “strong” passwords, which are at least eight characters long and contains at least two of the following:

  - Uppercase letters
  - Lowercase letters
  - Non-alphabetic characters
- a minimum length, such as 12 or 16 characters

- that you change the default password that the administrator might have assigned before you first use P4 Server.

In addition, you should choose a password that is difficult to guess or crack by multiple attempts.

To reset or remove a password (without knowing the password), P4 Server superuser privilege is required. If you need to have your password reset, contact your P4 Server administrator. See the P4 Server Administration Documentation for details.

The printable characters 32 through 126 of the ASCII table are known to avoid character set mismatches between servers and clients:

`space ! " # $ % ' ( ) * + , - . /`

`0 1 2 3 4 5 6 7 8 9`

`: ; < = > ? @`

`A B C D E F G H I J K L M N O P Q R S T U V W X Y Z`

`[ \ ] ^ _ ``

`a b c d e f g h i j k l m o p q r s t u v w x y z`

`{ | } ~`

Other characters might or might not result in character set mismatches between servers and clients.

Your search for returned results