Sunday, February 22, 2009

Using Subversion : part 2

Next up is creating authentication settings so that only that you give permission to can access the repository.

The server accesses the svnserve.conf file in the conf subdirectory of the repository. Since I created the repository in /var/svn/myrepo, you will find the file in /var/svn/myrepo/conf/.

In the [general] section, you will need to change the values for the authentication realm, and user names/passwords as such:

password-db = mypasswdfile
realm = littletechtips

The realm is kind of the authentication namespace. The password-db is the file where the server stores the user names and passwords. This is where you put the following:

raoul = foobar
juan = foobar

Which is pretty self-explanatory. :)

No comments: