Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1516573
  • 博文数量: 289
  • 博客积分: 11086
  • 博客等级: 上将
  • 技术积分: 3291
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-22 17:06
个人简介

徐小玉的博客。

文章分类

全部博文(289)

文章存档

2023年(6)

2022年(1)

2021年(2)

2020年(9)

2019年(9)

2018年(6)

2017年(10)

2016年(10)

2014年(3)

2013年(4)

2011年(12)

2010年(16)

2009年(14)

2008年(119)

2007年(48)

2006年(20)

我的朋友

分类: LINUX

2008-03-21 10:21:07

环境设置:指定CVS库的路径CVSROOT

tcsh
setenv CVSROOT /path/to/cvsroot
bash
CVSROOT=/path/to/cvsroot ; export CVSROOT

startsrc –s inetd / stopsrc –s inetd

 

用户同样可以通过startsrc –s inetd / stopsrc –s inetd来启动/停止inetd进程。

refresh -s inetd

netstat -a |grep cvspserver

:tcp4       0      0  *.cvspserv             *.*                    LISTEN

???

cvspserver stream tcp nowait root /tmp/ibmsupt/cvs-1.11.22/src/cvs cvs -f --allow-root=/home/cvsroot pserver

 

 

cvs [login aborted]: end of file from server (consult above messages if any)

tcsh
setenv CVSROOT /path/to/cvsroot
bash
CVSROOT=/path/to/cvsroot ; export CVSROOT

 

 

 

1.     cvs login works but cvs checkout or other commands fail with "cvsd: no such user" or "cvsd: no such system user"

The cvs pserver maps users found in the repository passwd file (CVSROOT/passwd) to users in the system passwd file. Since cvs is running in a chroot environment the system passwd file is located in /var/lib/cvsd/etc/passwd (depending on what you set your RootJail to). If you set up user mappings correctly there should be a cvsd user in the passwd file.

cvsd-buildroot checks the chroot jail's /etc/passwd file and adds users from the system /etc/passwd if needed (and generates warnings for missing users).

If you need ldap or similar methods to provide user id information you need to set up the proper configuration inside the chroot jail.

 

阅读(1199) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~