简体   繁体   中英

Authenticate SVN users using local Linux Groups?

Does anyone know how I can configure svn to use local linux groups to authenticate users?

For example if we have:

devrepo = should be accessible by groups 'dev' and 'prod'

productionrepo = should be accessible by only the 'prod' group

Due to security limitations of the platform concerned, we cannot use Apache so only svnserve or plain old svn+ssh are the possibilities.

svn+ssh relies entirely on the filesystem's permissions. 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.

svnserve is right out, as it uses its own users and groups.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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