Using your password
If your
P4 Server
user has a password set, you must use it when you issue
p4 commands. To use the password, you can:
- Log into
P4 Server
by issuing the
p4 logincommand, before issuing other commands. - Set
P4PASSWDto your password, either in the environment or in a config file. - Specify the
-P passwordoption when you issuep4commands (for instance,p4 -P mypassword submit). - Windows or macOS: store your password by using the
p4 set -scommand. Not advised for sites where security is high. P4 Server administrators can disable this feature.