ythh 发表于 2004-3-11 20:20:53

新手求救!!! 安装CVS问题! 请高手指点!! (郁闷!)

login时出错显示:

# cvs -d :pserver:[email protected]:/home/cvsroot login
Logging in to :pserver:[email protected]:2401/home/cvsroot
CVS password:
cvs : unrecognized auth response from 192.168.30.147: Usage: cvs command
#

请问高手怎样解决??? 望高手给于指点!!! 我是菜鸟,请给解释的详悉些,万分感谢!!!
谢谢!!!

安装过程如下:

redhat 9.0 gnome 完全安装 4.8G

下载完之后安装的步骤:
图形界面下解包 cvs-1.11.13.tar.bz2
# cd cvs-1.11
#./configure
# make
# make install

检查 /etc/services 已启动

在 /etc/xinetd.d 目录下创建一个文件cvs
vi /etc/xinetd.d/cvs
内容为:
service cvspserver
{
socket_type = stream
wait = no
user = root
env = HOME=
server = /usr/bin/cvs
server-tags = --allow-root=/home/cvsroot pserver
}

从图形界面 系统设置->用户和组群
添加 组 cvs 用户 cvsroot 主目录为/home/cvsroot

chown -R cvsroot /home/cvsroot

然后
vi /etc/profile
修改为:

# /etc/profile

# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc

pathmunge () {
if ! echo $PATH | /bin/egrep -q "(^|icon_smile.gif$1($|icon_smile.gif" ; then
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}

# Path manipulation
if [ `id -u` = 0 ]; then
pathmunge /sbin
pathmunge /usr/sbin
pathmunge /usr/local/sbin
fi

pathmunge /usr/X11R6/bin after

unset pathmunge

# No core files by default
ulimit -S -c 0 > /dev/null 2>&1

USER="`id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
CVSROOT=":pserver:[email protected]:/home/cvsroot"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
INPUTRC=/etc/inputrc
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC CVSROOT

for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
done

unset i

重启 xinetd:
/etc/init.d/xinetd restart

然后
cvs -d /home/cvsroot init

以上都显示成功

ythh 发表于 2004-3-11 22:09:11

没有人愿意帮我吗??? 伤心........... :cry:
页: [1]
查看完整版本: 新手求救!!! 安装CVS问题! 请高手指点!! (郁闷!)