[p4] How to reset superuser's password?

Viery Lee vierycn at gmail.com
Thu Aug 31 19:13:32 PDT 2006


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.





On 8/31/06, Jeff Grills <jgrills at drivensnow.org> wrote:
>
>
> Have you checked the P4 administrator's guide?
>
> One thing I've done in the past is to start up a new unlicensed 2 user
> server, and set a password for a user.  Then I do a checkpoint.  I take my
> normal server down, check point it, find the user record for the super
> user,
> replace the password with the known one from the user in the unlicensed
> server, and recover that one record into the normal server.  This
> technique
> is not for everyone to use, as it's certainly error prone and importing a
> bad record into your DB may cause all kinds of craziness, but it works
> with
> minimal impact on the rest of your server.
>
> 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 4:12 AM
> To: perforce-user at perforce.com
> Subject: [p4] How to reset superuser's password?
>
>
> Hi, All,
>             I change server security levels by issue this command: p4
> counter -f security 1. Then I reset the superuser's password.
>
>             But when I log in using new password I've set, perforce server
> show the error: Password invalid.
>
>             How to resolve this problem?
> Rgds,
> Viery
> _______________________________________________
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>
>
>


More information about the perforce-user mailing list