Collabnet SubversionEdge-1.3.0 installation configuration and management

Source: Internet
Author: User

To collabnet SubversionEdge-1.3.0 user management and other issues

 

User Management

 

Subversionedge has two types of users: Version database authorized users and console users.
The default user in the console is admin and password Admin. The default user in the version library is admin and password admin. However, the storage locations are separated, and accounts and passwords can be separated.

By default, users in the console can only be added. By default, users can be added to the user files authorized by the version library. Anyway, the following information is displayed for the users who modified and deleted the decoration:

 

HTTP Error 404
Problem accessing/csvn/user/index. Reason:

Not found

--------------------------------------------------------------------------------
Powered by Jetty ://

 

 Console user management:

 

Important files: {installation path} \ data \ csvn-production-hsqldb.script and {installation path} \ data \ csvn-production-hsqldb.properties

Principle speculation (which may be incorrect ):

After several days, I found that the console uses the hsql database and all the data is stored in the memory.
Step 1: Execute the csvn-production-hsqldb.script to initialize tables and data in memory when the service is started (referring to the httpd.exe bound by collabnetsubversionserver;
Step 2: All operations during the period are stored in the memory;
Step 3: when the service is closed, all data in the memory is updated to the csvn-production-hsqldb.script file.

Because users cannot be modified and deleted on the page, you can manage users by disabling the service to modify the csvn-production-hsqldb.script.

 

Csvn-production-hsqldb.script example:

Create schema public authorization DBA
Create memory table category (ID bigint generated by default as identity (start with 1) not null primary key, version bigint not null, name varchar (255) not null)
...........................
Insert into user values (, 'admin user', 'admin @ rouselife.com ', true, '0ef9a776d895692b2710e8b996f12af6', 'Super administrator ', 'admin ')

 

 Change Password

 

Because the password MD5 used by htpasswd is hashed, the strings of all identical passwords are different each time, and there is no time to verify that the above 0ef9a776d895692b2710e8b996f12af6 is the standard value after the password MD5.
My approach is:

Create a new user who knows the password, and then close the Service (from the console or the win service interface, there are two services: collabnetsubversionserver and collabnet subversion edge ), then open the csvn-production-hsqldb.script file will add the user at the end of the file, with the new password to replace 0ef9a776d895692b2710e8b996f12af6. (Do not: Make sure to stop the service before the modification is valid. Otherwise, the script file will be overwritten .)
Delete a user

 

Close the above two services and then delete the csvn-production-hsqldb.script file at the end of the prepared user to start the service.

Version library authorized user management:

The user's storage file is {installation path} \ data \ conf \ svn_auth_file, which is managed using {installation path} \ bin \ htpasswd.exe.

Run the command in the console. The following is the output content (print the file storage value of the user name/password three times first, add the user, and delete the user ):

 

Microsoft Windows [version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C: \ Users \ meteor> D:

D: \> Cd D: \ csvn \ bin

D: \ csvn \ bin> htpasswd
usage:
htpasswd [-javaspsd] passwordfile username
htpasswd-B [javaspsd] passwordfile Username Password

Htpasswd-N [MDPs] Username
Htpasswd-Nb [MDPs] Username Password
-C create a new file.
-N don't update file; display results on stdout.
-M force MD5 encryption of the password (default ).
-D force crypt encryption of the password.
-P do not encrypt the password (plaintext ).
-S force Sha encryption of the password.
-B use the password from the command line rather than prompting for it.
-D Delete the specified user.
On Windows, Netware and TPF systems the '-m' flag is used by default.
On all other systems, the '-p' flag will probably not work.

 

D: \ csvn \ bin> htpasswd-Nb Test
Automatically using MD5 format.
Test: $ apr1 $ 8zaa10xj $ h5vxdhlldgco94d5xkfeu.

D: \ csvn \ bin> htpasswd-Nb Test
Automatically using MD5 format.
Test: $ apr1 $ slijyx9/$ ahxs8zf3ppzhszcnump17/

D: \ csvn \ bin> htpasswd-Nb Test
Automatically using MD5 format.
Test: $ apr1 $ ktezjzwn $ lg0vepxgofutegcd1kam8.

 

// Add users
D: \ csvn \ bin> htpasswd-B D: \ csvn \ data \ conf \ svn_auth_file test
Automatically using MD5 format.
Adding password for user test

 

// Delete a user

D: \ csvn \ bin> htpasswd-d: \ csvn \ data \ conf \ svn_auth_file Test
Automatically using MD5 format.
Deleting password for user test

 

D: \ csvn \ bin>

 

From the above, we can see that the password test three times has completely different hash values.

Version Library Management

You can set the version inventory path (for example) through the management on the online console-> Server Configuration ):

 

You can add version libraries online, and add version libraries online. only lower-case letters and underscores are supported, but upper-case letters are not supported.
You can also directly copy the version libraries of other subversions to the version inventory path. Subversion edge will find the version Library (online version library> Version library ).
To delete a version library, you can directly Delete the version library under the version inventory path, and synchronize it online with the version library.

Generally, the client uses tsvn.

 

Re: http://www.sadtojoy.com/aspx/Detail.aspx? Id = 3743

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.