- 论坛徽章:
- 0
|
请问我的cvs为什么登录不上呢?
#/etc/services
cvspserver 2401/tcp # CVS client/server operations
cvspserver 2401/udp # CVS client/server operations
#vi /etc/xinetd.d/cvspserver
service cvspserver
{
disable = no
socket_type = stream
wait = no
user = root
env = HOME =/home/cvsroot/CVSROOT
server = /usr/bin/cvs
server_args = -f --allow-root /home/cvsroot pserver
log_on_success += USERID
log_on_failure += USERID
}
#/etc/rc.d/init.d/xinetd restart
#export cvsroot=/home/cvsroot
#cvs init
#groupadd cvs
#cvs :GID:user1,user2,user3
#chgrp -R cvs /home/cvsroot
#chmod ug+rwx /home/cvsroot/CVSROOT
#vi /home/cvsroot
/CVSROOT/passwd
user1:12345:cvs
user2:12345:cvs
user3:12345:cvs
cvsuser:12345:nobody
#cvs -d ":pserver:user1@192.168.0.4:/home/cvsroot" login
Logging in to :pserver:sulin@192.168.0.4:2401/home/cvsroot
CVS password:
cvs [login aborted]: unrecognized auth response from 192.168.0.4: Usage: cvs [cvs-options] command [command-options-and-arguments] |
|