Install cvsnt
- Install cvs server.
- Create cvsroot and cvstemp directory on NTFS file system.
- Initilize cvsroot and set cvs temp dir to cvstemp.
- Set cvs repository's privilege.
- Modify $CVSROOT/CVSROOT/config as follow. Only cvs users are allowed to
access cvs repository. system users are not allowed.
Uncomment the first line of the file.
# Set this to `no' if pserver shouldn't check system users/passwords
SystemAuth=no
- Add a file named $CVSROOT/CVSROOT/passwd
- Restart cvsnt when needed. If cvs server is not restarted, it is ok sometimes.
- Set CVSROOT environment variable for current user.
- Login cvs
$cvs login
- Change cvs user's password.
$cvs passwd
- Testing...
$cvs co os161 - Read cvsnt's documentation.
a) How to restrict user's privilege to access cvs repository.
$CVSROOT/CVSROOT/readers $CVSROOT/CVSROOT/writers
博客主要介绍了CVSNT的安装步骤,包括安装CVS服务器、创建目录、初始化cvsroot、设置权限等。还说明了如何修改配置文件限制访问,添加密码文件,设置环境变量,以及登录、修改密码和测试等操作,同时提及可参考文档限制用户权限。
106

被折叠的 条评论
为什么被折叠?



