CVS server configuration with cvsd scripts

At present, there is a package named cvsd, which is a wrapper for cvs server running in pserver mode, so the cvs server configuration is easier than before. During package installation, it will automatically prompt you to type in the repository path relative to the server root directory which is /var/lib/cvsd by default and can be changed in the configuration file /etc/cvsd/cvsd.conf. Further, there is no need to manually edit /etc/services anymore, because once the package cvs is installed, related information will be added to this file. Another change is cvsd is not started by inetd or xinetd at the present. It has become a standalone service with its server script in /etc/init.d.

The repository should still be manually initialized:

cvs -d /path/to/your/repository init

After initialization, new users should be added to the repository with their passwords and there is a new script to do this job: cvsd-passwd:

cvsd-passwd /path/to/your/repository +user_name

Then it will ask you for new password for this user.

To remove a user:

cvsd-passwd /path/to/your/repository -user_name

So again, there is no need to edit the passwd file in CVSROOT folder and no need to generate the password using a Perl script as before. One thing to be mentioned here is that the added user should also be a system user, i.e. it should not be a cvs virtual user, otherwise, any cvs file operations are not allowed. If we open the generated passwd file, we can also see that the created cvs user is mapped to the system user cvsd. This cvsd user is generated when installing the package cvsd and it belongs to cvsd group. For this reason, we should also change the gid & uid of the repository into cvsd in order to have file permissions in repository:

chown -R cvsd:cvsd /path/to/your/repository

If in the future new users are added to the the system and they are also cvs users, the cvsd root folder should be rebuild by using the command cvsd-buildroot:

cvsd-buildroot /path/to/cvsd/chroot/jail

Because cvsd uses chroot jail, this command will copy the new user information from /etc/passwd to /path/to/cvsd/chroot/jail/etc/passwd.

For the cvswrappers and cvsignore files, they should still be edited manually. After all these procedures, new projects can be imported into cvs for maintenance.

CVS server configuration with cvsd scripts,布布扣,bubuko.com

时间: 2024-12-25 17:18:21

CVS server configuration with cvsd scripts的相关文章

解决Apache虚拟主机报错问题apache AH01630: client denied by server configuration错误解决方法

今天同事咨询通过Apache搭建创建虚拟主机,搭建好发现一直报错,提示 "apache AH01630: client denied by server configuration",在网上搜索了一下, 发现这个错误的原因是,apache2.4 与 apache2.2 的虚拟主机配置写法不同导致. apache2.2的写法: [plain] view plain copy 在CODE上查看代码片派生到我的代码片 <VirtualHost *:80> ServerName f

解决apache AH01630: client denied by server configuration错误

昨天给公司配置了apache-2.4.9的版本,今天他们要求把虚拟主机配置起好放网站程序,在修改apache-2.4.9的配置文件中,我发现了2.4.x跟以前的2.2.x里面的很多配置都不一样了,比如配置这个虚拟主机都有一些不同,按照以前的配置方法,会报下面的错误:AH01630: client denied by server configuration: /usr/local/apache/htdocs/recx/ 先给大家看看我按照apache-2.2.x配置虚拟机的内容:NameVirt

Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at

最近装了一个Ubuntu系统 在配置tomcat的时候总是出现这样的问题 Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete. 我首先配置的是tomcat-7.0.27,我以为这不行.后来换成tomcat6.0结果还是报同样的错误 最后导致2个都添加不进去了如

Could not publish server configuration for Tomcat v6.0 Server at localhost.

经常在使用tomcat服务器的时候 总会发生一些莫名其妙的错误. 就像下面这个错误: 在配置文件中存在多个/MyWeb的配置,导致不能发布服务. 错误信息: Could not publish server configuration for Tomcat v6.0 Server at localhost.Multiple Contexts have a path of "/MyWeb". 解决方案: 如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:

用eclipse启动tomcat时报Could not publish server configuration for Tomcat v8.0 Server at localhost..错误

Could not publish server configuration for Tomcat v8.0 Server at localhost. Context with path "/mnDemo" conflicts with another Context with path "/mnDemo". 网上的解决方法是: 1.如果是使用的eclipse tomcat 插件,需要在你的工作空间 找到如下文件:.metadata.plugins\org.ecli

sql server 2012 打开sql server configuration manager 报错

Error message when you open SQL Server Configuration Manager in SQL Server: "Cannot connect to WMI provider. You do not have permission or the server is unreachable" Workaround解决办法 To work around this problem, open a command prompt, type the fol

ubuntu eclipse 建立server 提示coud not load the tomcat server configuration at /opt/apache ...的解决方法

ubuntu eclipse 建立server 提示coud not load the tomcat server configuration at /opt/apache ...的解决方法 & 及new server 时tomcat 无法finish (灰掉不可用)的解决方法. 运行命令 chmod -R 777 /opt/apache-tomcat-*

The Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config is missing. Check the server for errors.

tomcat突然报错,The Tomcat server configuration at \Servers\Tomcat v7.0 Server at localhost-config is missing. Check the server for errors. 具体报错原因不太清楚,不过肯定是因为一些关联的信息缺失导致 解决办法: 删掉原先关联的tomcat,重新关联一个新的 prefencen-->service-->runtime environments,删除原先所有的tomca

Apache/2.4.9启动错误:AH01630: client denied by server configuration

在升级Yii框架1.11->2.0beta时,PHP升级到5.5.顺带升级Apache2.2.x到2.4.9. 把原有vhost配置移植过来,出现Apache启动错误: AH01630: client denied by server configuration 原因是Apache2.4的部分指令和Apache2.2有所不兼容, 具体升级说明文档见: http://httpd.apache.org/docs/2.4/upgrading.html 具体而言,对于上述错误.做例如以下改动: 把All