[p4] How to reset superuser's password?
G. Matthew Rice
matt at starnix.com
Tue Sep 5 09:52:42 PDT 2006
"Weintraub, David" <david.weintraub at bofasecurities.com> writes:
> I remember something about deleting the db.passwd database file to
> remove the superuser's password. That this won't destroy anything but
> the users' passwords, so the users will have to create new passwords,
> but that's about it.
>
> Does anyone else know anything about this? I can't remember where I saw
> this.
I was following this thread but, since it seemed resolved, I didn't pipe in.
I was thinking the same thing. The steps that I would have taken are:
1. restart P4D/P4S so that it is only listening on the localhost:1666
interface and port number (to prevent 'accidental user activity').
2. move db.protect out of the way
3. 'p4 passwd' or 'p4 user' to change/remove the password
4. move db.protect back in place
5. restart P4S/P4D with the proper P4PORT setting.
regards,
--
g. matthew rice <matt at starnix.com> starnix, toronto, ontario, ca
phone: 647.722.5301 x242 gpg id: EF9AAD20
http://www.starnix.com professional linux services & products
More information about the perforce-user
mailing list