How to recover lost svn password?
I just finished reading about passwords in "Version Control with Subversion" but could not find the solution for a 开发者_JAVA百科lost and forgotten password. Is there a way to recover a lost svn password?
As you've probably read, there are many ways of setting up a Subversion server.
svnserve
This is the simplest option. Passwords are stored in a plain text file on the server. Recovery is trivial.
svnserve over SSH
Subversion is not involved in the authentication process, that is delegated to SSH. All SSH "forgotten password" problems can be solved.
Apache server
Subversion is not involved in the authentication process, that is delegated to Apache. There are many different authentication methods available for Apache, all of which have some kind of recovery process.
For Windows, there is also an app called TortoiseSVN Password Decrypter which can be used to recover a password from the cache of the user's computer. See http://www.leapbeyond.com/ric/TSvnPD/ (unlike the name suggests, it's not just for TortoiseSVN users).
Note that this is not a admin tool, more a utility that a user can run themselves. Don't know if a similar tool exists for *nix.
精彩评论