配置Subversion的使用系统的用户名/密码 [英] Configuring Subversion to use system users/passwords

查看:113
本文介绍了配置Subversion的使用系统的用户名/密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用<一个href=\"http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.basic\"相对=nofollow>颠覆1.6.1与Apache ,在Linux机器上。服务器运行的是通过HTTP,HTTPS不是

我想允许人们使用相同的登录/密码,他们使用通过SSH登录到本机进行身份验证。在SVN手册仅介绍如何使用HTTP基本认证和摘要式身份验证。但这些方法,我需要保持用户的单独列表,并且不能更改自己的密码。我想preFER只使用该系统的用户。


  1. 如何做到这一点?

  2. 这是明智的?


解决方案

这个问题提到基本/摘要身份验证。首先,请注意基本/摘要身份验证是指服务器和浏览器之间的协议进行通信的用户名/密码(在Apache 2.2,使用认证前端模块,如 mod_auth_digest的 mod_auth_basic )。

在幕后,Apache可以使用许多的用户/密码信息,核对不同来源。 mod_authn_file模块它采用了密码文件就是常见的一种,它听起来好像这就是你指的是。

要在Linux机器上访问系统的用户/密码,Apache项目本身并不提供任何身份验证后端模块,但也有第三方的。看到这篇文章可能会有所帮助:

Apache 2.2的认证是 mod_authnz_external

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.

  1. How do I do this?
  2. Is this wise?

解决方案

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

这篇关于配置Subversion的使用系统的用户名/密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆