Perforce Command Reference:   [Index] [Prev] [Next]


p4 passwd

Synopsis

Change a user's Perforce password on the server.

Syntax

p4 [g-opts] passwd [user]

Description

By default, user records are created without passwords, and any Perforce user can impersonate another by setting P4USER or by using the globally-available -u flag. To prevent another user from impersonating you, use p4 passwd to set your password to any string that doesn't contain whitespace or the comment character #.

Once a password has been set, it must be provided to the p4d server program when any p4 command is run. You can do this in one of three ways:

Each of these three methods overrides the methods above it.

On Windows clients, p4 passwd stores the password for you by performing p4 set to change the local registry variable. (Note that the registry variable holds only the encrypted MD5 hash of the password, not the password itself.)

To delete a password, set the password value to an empty string.

Options

user Superusers can provide this argument to change the password of another user.
g_opts See global options section.

Usage Notes

Can File Arg Use
Revision Specifier?
Can File Arg
Use Revision Range?
Minimal
Access Level Required
<NA> <NA> list

Related Commands

To change other user options p4 user
To change users' access levels p4 protect



Perforce Command Reference:   [Index] [Prev] [Next]


Copyright 1999 Perforce Software.
Contact us at [email protected]
Last updated: 09/15/99 (Manual version 99.1.cr.6)