LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-12-2012, 03:05 AM   #1
fcdev
Member
 
Registered: Sep 2005
Posts: 47

Rep: Reputation: 15
can't seem to disable anonymous SVN access - ubuntu 12.04


I am currently trying to configure a SVN server to prohibit any anonymous access, I'm following all the tutorials I can find, and everything tells me to do what I have already done, and I can still access (read) the repository in anonymous mode (both via tortoise SVN on Windows, and via HTTP).

I am running from a vanilla install of Ubuntu 12.04 LTS, and have svnserve 1.6.17 installed.

/etc/apache2/mods-available/dav_svn.conf looks like this ...
<Location /svn>
DAV svn
SVNParentPath /home/svn
SVNListParentPath On
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile /etc/subversion/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>

I have tried removing /etc/passwd to see if that would help, but it doesn't. It looks like this ...
steve:$apr1$Y130T/Sc$CL2a5.A5MGUCgx.C9kSHj2

/home/svn/testSVN/conf/svnserve.conf looks like this ...
[general]
anon-access = none
auth-access = write
password-db = passwd
realm = testSVN_realm

and /home/svn/testSVN/conf/passwd looks like this ...
[users]
bob = bob

Additionally, when I do try to write to the SVN server, it only accepts my 'steve' credentials, not the 'bob' credentials.

I don't care if I have to access it via HTTP or via command prompt, or whatever, I just need to disable anonymous access. Can anyone tell me what I'm doing wrong? Any help would be greatly appreciated.

- Stephen Fraser
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing SVN & Configuring Access Through Different Protocols (Ubuntu 11.10) LXer Syndicated Linux News 0 02-28-2012 11:00 AM
vsftpd access allow for anonymous Dalbir Singh Linux - Server 3 09-07-2010 10:30 AM
Anonymous FTP Access SBN Linux - Server 1 07-26-2007 03:03 AM
FTP+Anonymous Access KrGAce Linux - Enterprise 5 03-05-2007 05:16 AM
Anonymous ProFTPd access tisource Linux - Networking 2 03-04-2003 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration