免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3389 | 回复: 7
打印 上一主题 下一主题

如何用ext的认证方式(不用pserver的认证方式)配置CVS服务器 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-04-05 23:00 |只看该作者 |倒序浏览
5可用积分
需要注意什么 请教各位了

谢谢~~

论坛徽章:
0
2 [报告]
发表于 2007-04-06 09:57 |只看该作者
大家帮帮忙嘛,版主大哥呢

论坛徽章:
0
3 [报告]
发表于 2007-04-06 10:55 |只看该作者
服务器上正常的配置好cvs_root,做好cvs init初始化就可以了
然后要开sshd的服务器:)
其他和 pserver一样,没啥要注意的

论坛徽章:
0
4 [报告]
发表于 2007-04-06 11:16 |只看该作者
您好:

(1)我的/etc/xinetd.d/cvspserver内容配置成:

service cvspserver
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/bin/cvs
server_args = -f --allow-root=/home/cvsroot ext
log_on_success += USERID
log_on_failure += USERID
}

(2)ssh 和sshd都可以了:
[root@fang]#  rpm -aq | grep ssh
openssh-3.6.1p2-33.30.6
openssh-askpass-3.6.1p2-33.30.6
openssh-clients-3.6.1p2-33.30.6
openssh-server-3.6.1p2-33.30.6
openssh-askpass-gnome-3.6.1p2-33.30.6
[root@fang]#  ps -ax |grep sshd
1456 ?        S      0:01 /usr/sbin/sshd
11035 ?        S      0:00 sshd: chkusr [priv]
11037 ?        S      0:00 sshd: chkusr@pts/0
15196 pts/2    S      0:00 grep sshd
[root@fang]#

(3)而且我建立了cvs组,cvsroot用户,并设了guid
drwxrwsr-x    4 cvsroot  cvs          1024 Apr  6 11:03 cvsroot


(4)我在服务器上的/etc/profile文件中添加了:

CVSROOT=:ext:sophia@10.11.100.118:/home/cvsroot

(5)请教您,现在我的客户端还没有装好,想在本机上试以下,应该怎么做,

非常感谢

[ 本帖最后由 sophia_wang99 于 2007-4-6 11:39 编辑 ]

论坛徽章:
0
5 [报告]
发表于 2007-04-06 12:11 |只看该作者
大家帮忙啊,谢谢啦

论坛徽章:
0
6 [报告]
发表于 2007-04-06 14:06 |只看该作者
版主~~~~~~~~

各位大侠~~

论坛徽章:
0
7 [报告]
发表于 2007-04-09 11:07 |只看该作者
在同一台服务器上运行cvs init
以后看看 /home/cvsroot 有没有东西,有东西就是OK
然后看看xinet.d有没有起来

论坛徽章:
0
8 [报告]
发表于 2007-04-09 16:22 |只看该作者
已经成功,哈哈,

”Open Source development with CVS“ 这本书不错
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP