Configuring Subversion to use system users/passwords

I’m using Subversion 1.6.1 with Apache, on a Linux machine. The server is running over http, not https.

I want to allow people to authenticate using the same login/password that they use to log into the machine via SSH. The SVN manual only explains how to use HTTP Basic Auth and Digest authentication. But with these approaches, I need to maintain a separate list of users, and they can’t change their own passwords. I’d prefer to just use the system’s users.

  • svn post-commit Temporary failure in name resolution
  • SSL works with browser, wget, and curl, but fails with git
  • How to deploy Gitlab project branch to directory
  • Auto Deploying with Git
  • svn: Repository moved temporarily to 'main'; please relocate
  • Setting up a SVN repo through HTTPD server
    1. How do I do this?
    2. Is this wise?

  • Perforce for a Subversion user?
  • Ubuntu + SVN: Could not open the requested SVN filesystem
  • How to use svn+ssh with Tortoise SVN from the command line
  • Xcode: Error -> Build failed -> Please upgrade your Subversion client to use this working copy
  • Is the only way to list the “live” revisions of a particular SVN path “svn log -q -v” plus a filter?
  • SVN Error - Not a working copy
  • 4 Solutions collect form web for “Configuring Subversion to use system users/passwords”

    The question mentions basic/digest auth. First, note that basic/digest auth refers to the protocol between server and browser to communicate the user/password (on Apache 2.2, using authentication front-end modules such as mod_auth_digest and mod_auth_basic).

    Behind the scenes, Apache can use a number of different sources of user/password information to check against. mod_authn_file which uses a “password file” is a common one, and it sounds as though that’s what you’re referring to.

    To access the system user/password on a Linux box, Apache project itself doesn’t provide any authentication back-end modules, but there are 3rd-party ones available. See this article which may be helpful:

    Apache 2.2 authentication with mod_authnz_external

    I would say this is a perfect serverfault question.

    BUT, I do it using WebDav in Apache and pwauth.

    Any particular reason not to just access it via svn + ssh, since they have accounts?

    We have authentication against a windows domain set up with mod_auth_sspi. No problems so far.

    Git Baby is a git and github fan, let's start git clone.