Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We are running a VisualSVN Server that needs ~300 users to be created. As the need to mass create users is likely to reoccur, I'd prefer not to task someone with data entry for account creation. I've found the htpasswd which has following form:


I've edited password files for other apps/servers in the past that used MD5 hex which this clearly is not. What algorithm is this?

share|improve this question

"MD5 "$apr1$" + the result of an Apache-specific algorithm using an iterated (1,000 times) MD5 digest of various combinations of a random 32-bit salt and the password. See the APR source file apr_md5.c for the details of the algorithm."

More details here:

Hope that helps!

share|improve this answer

Alternatively you can manage VisualSVN Server users and groups using WMI.

ManagementClass userClass = new ManagementClass("root\\VisualSVN", "VisualSVN_User", null);

// Obtain in-parameters for the method
ManagementBaseObject inParams =

// Add the input parameters.
inParams["Name"] = "user1";
inParams["Password"] = "secret";

// Execute the method and obtain the return values.
ManagementBaseObject outParams =
    userClass.InvokeMethod("Create", inParams, null);

You can find more samples on link below:

share|improve this answer
Thanks! I'd vote this up, but I need two more points. – somehume Aug 7 '12 at 13:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.