From BlenderWiki

Jump to: navigation, search
# as root
mkdir /var/svn
svnadmin create /var/svn/repos
 
# use pass: svn
adduser svn 
 
nano /etc/passwd
# change /bin/bash to /bin/false for svn user
 
# change ownership
cd /var
sudo chown -R svn.svn svn
 
# add user, eg
adduser alex
 
# add group
vigr
 
# change:
# svn:x:1002:
#
# to...
# svn:x:1002:alex,bob
 
# to be sure make similar edit again...
vigr -s
 
# I couldnt get users sorted out, but this works
cd /var
sudo chmod 777 -R svn
 
# test checkout
 
svn co svn+ssh://alex@192.168.1.104/var/svn/repos
svn co svn+ssh://ideasman42@192.168.1.104/var/svn/repos
 
# manage public keys from users and your done!
 
</code>