Re: [p4] Resetting SuperUser password when SU is not deleted and there are no other users?
Sambwise <[email protected]> Sun, 28 Jan 2018 17:20:01 -0800
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'Sambwise'. If you already know the SU's password or are otherwise able to login as them, just do: p4 set P4USER=the_superuser p4 passwd If you've forgotten the password and need to reset it as a superuser, logically you'd need another superuser to do that since you can't login as the first one. If there are no protections on the server, any user you create is a superuser, which it sounds like is what you're doing? Two users isn't going to overflow the limit on the free server, so there shouldn't be any problem with doing it that way. The "back door" way of clearing the password if you only have one user and for some reason don't want to create a second to unlock the first would be to delete the db.user table. This will delete all users and their associated passwords. Note that if you had dm.noautocreate on, you may have just locked yourself out of your server (time to delete db.config)! -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5610-resetting-superuser-password-when-su-is-not-deleted-and-there-are-no-other-users _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user