简体   繁体   English

使用本地Linux组对SVN用户进行身份验证?

[英]Authenticate SVN users using local Linux Groups?

Does anyone know how I can configure svn to use local linux groups to authenticate users? 有谁知道我如何配置svn以使用本地linux组对用户进行身份验证?

For example if we have: 例如,如果我们有:

devrepo = should be accessible by groups 'dev' and 'prod' devrepo =应该由“ dev”和“ prod”组访问

productionrepo = should be accessible by only the 'prod' group productionrepo =应该只能由“ prod”组访问

Due to security limitations of the platform concerned, we cannot use Apache so only svnserve or plain old svn+ssh are the possibilities. 由于相关平台的安全性限制,我们无法使用Apache,因此只能使用svnserve或普通的svn + ssh。

svn+ssh relies entirely on the filesystem's permissions. svn+ssh完全依赖于文件系统的权限。 This is a good thing in your instance. 在您的实例中,这是一件好事。

Alas, I'm not familiar enough with Linux's ACL support (rather than older UNIX-style file permissions) to help you set the appropriate ACL permissions... and you'll need ACLs to assign a directory's permissions for more than one group. las,我对Linux的ACL支持 (而不是较早的UNIX样式的文件权限)还不够熟悉,无法帮助您设置适当的ACL权限...,并且您将需要ACL为多个组分配目录的权限。

svnserve is right out, as it uses its own users and groups. svnserve是正确的,因为它使用自己的用户和组。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM