[p4] How to reset superuser's password?

Jeff Grills jgrills at junctionpoint.com
Fri Sep 1 07:52:12 PDT 2006


I would think the two ways should be the same.  I hate to ask about the
obvious, but are you sure you're connecting to the same perforce server in
both cases?  It's relatively easy to have any of the GUI clients configured
to connect to different servers than what the command line defaults are set
to.  Have you tried "p4 info" from the command line to see where you are
connecting?

j

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Viery Lee
Sent: Thursday, August 31, 2006 9:14 PM
To: perforce-user at perforce.com
Subject: Re: [p4] How to reset superuser's password?

Thanks Jeff.

Now I resoved this problem.

1. On perforce server,  I find db.user file in perforce installed directory.
2. Open this file with text edit tool, such as editplus.
3. I find serveral places of the superuser in this file,  and after the
username, there is a 32 bit encrypted password. Then replace the last one
with formal encrypted password.
4. Finally I log into perforce.

That's OK.

Btw, if I use following command to change password: p4 passwd username, then
when I login to perforce, will show "Invalid password". But when I change
password in p4v, then login is OK.
I don't know the difference of this two way.


More information about the perforce-user mailing list