<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>These things are far too hard &#187; users</title>
	<atom:link href="http://leadingedgescripts.co.uk/tag/users/feed/" rel="self" type="application/rss+xml" />
	<link>http://leadingedgescripts.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 16 Oct 2009 09:14:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Creating A New Subversion User on Windows</title>
		<link>http://leadingedgescripts.co.uk/server-administration/creating-a-new-subversion-user-on-windows/</link>
		<comments>http://leadingedgescripts.co.uk/server-administration/creating-a-new-subversion-user-on-windows/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 18:37:29 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Server Administration]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.leadingedgescripts.co.uk/?p=137</guid>
		<description><![CDATA[This post assumes that you&#8217;ve installed Subversion on a Windows server, if you haven&#8217;t I&#8217;m planning on writing a detailed post about how to install Subversion and get it all up and running so I&#8217;ll try and get that done asap. It also pretty much assumes that you are using the Wonderful (yes that&#8217;s a capital [...]]]></description>
			<content:encoded><![CDATA[<p>This post assumes that you&#8217;ve installed Subversion on a Windows server, if you haven&#8217;t I&#8217;m planning on writing a detailed post about how to install Subversion and get it all up and running so I&#8217;ll try and get that done asap. It also pretty much assumes that you are using the Wonderful (yes that&#8217;s a capital W) <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a> Anyway, here&#8217;s how to add a Subversion user:</p>
<p>Go to the command prompt and find your Apache installation, and the find the Apache binary files &#8211; on my Windows server it&#8217;s here:</p>
<p style="padding-left: 30px;"><span style="white-space:pre"> </span>C:\Program Files\xampp\apache\bin\</p>
<p>
<!-- Begin Google Adsense code -->
<script type="text/javascript"><!--
google_ad_client = "pub-4904188713812219";
/* 468x60, created 02/11/08 */
google_ad_slot = "9286450703";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- End Google Adsense code -->
</p>
<p>If you look in this folder, you should be able to see a file called: htpasswd.exe . That&#8217;s the file we&#8217;re going to use to generate our Subversion username / password combo. Now, assuming that your XAMPP install is similar to mine, you should have a \conf\ folder located at the same level as the \bin\ folder :</p>
<p style="padding-left: 30px;"><span style="white-space:pre"> </span>C:\Program Files\xampp\apache\bin\</p>
<p style="padding-left: 30px;"><span style="white-space:pre"> </span>C:\Program Files\xampp\apache\conf\</p>
<p>If you look in this folder, you &#8220;may&#8221; have a file called svnusers.conf &#8211; this is where the Subversion usernames / passwords are stored.</p>
<p>Assuming that&#8217;s the case, and you are still in your \bin\ folder, issue the following command:</p>
<p style="padding-left: 30px;"><span style="white-space:pre"> </span>htpasswd -m ..\conf\svnusers.conf username </p>
<p>(replacing username with your desired username of course&#8230;)</p>
<p>You will be asked to enter a password twice, do this and your Subversion user should be added into svnusers.conf for you. Now, assuming that that was successful, you need to edit svnaccess.conf to give the correct permissions to your new user.</p>
<p>For those of you wondering where svnaccess.conf is located &#8211; it should be in the same folder as svnusers.conf. Edit svnaccess.conf using a text editor (<a href="http://notepad-plus.sourceforge.net/">Notepad++</a> or <a href="http://www.textpad.com/">Textpad</a> are great editors that I highly recommend!)</p>
<p>You should see something looking a bit like this:</p>
<p style="padding-left: 30px; ">[groups]<br />
admins = User1, User2<br />
ourdevelopers = User3, User4</p>
<p style="padding-left: 30px; ">[/]<br />
#give admins read / write access to all repositories<br />
@admins = rw<br />
@ourdevelopers = r </p>
<p>This should be fairly self explanatory, but just for completeness, you need to add your user to a group, and then give that group appropriate permissions to your repositories &#8211; such as rw (read write).</p>
<p>That&#8217;s it! Your new user should be added to your Windows Subversion server.</p>
]]></content:encoded>
			<wfw:commentRss>http://leadingedgescripts.co.uk/server-administration/creating-a-new-subversion-user-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
