Problem Encounterd : cvs [login aborted]: authorization failed.
Hi guys,
I have a server with RHEL 4 AS installed.CVS was installed with the linux. i am still quite lost at how does one setup the CVS to be accessable by users remotely. As i am able to set the CVSROOT locally and do "cvs init" , "cvs login" , "cvs import" and "cvs checkout/commit" I was told to use pserver as it enabled users to use cvs without logging in throught SSH. But i kept obtaining this message when i tried to log into the pserver. "cvs [login aborted]: authorization failed: server 10.110.0.21 rejected access to /usr/cvs_repository for user cvs" "/user/cvs_repository" has already been chgrp to user "cvs" and read and write access has also been given on the directory. any idea how can i setup the pserver correctly? Thanks a million! |
Hi guys i have did a search in google once again and i stumbled upon a online CVS documentation.
http://www.network-theory.co.uk/docs/cvsmanual And in this manual i have found the error that ocurred to me. http://www.network-theory.co.uk/docs...onnection.html It is said that i should QUOTE " then you probably haven't specified ‘-f’ in ‘inetd.conf’. " specified -f in inetd.conf? or in my case xinetd.conf? so how do i go about specifing -f in xinetd.conf? Thanks. |
i found a more recent guide for installation of CVS.
http://www.person13.com/blog/archives/000048.html Now that i have read the article that he wrote i am getting a new error message. login with: "cvs -d :pserver:maxma@cvsserverip:/usr/local/cvsrepository/ login" error msg: "/usr/local/cvsrepository/project1: no such repository" but it does exists. i manage to checkin and check out files at the terminal with the correct $CVSROOT path. $CVSROOT=/usr/local/cvsrepository/ help? Thanks in advance~ |
I have figured it out myself eventually.
It seems that in the xinetd.conf i added the cvspserver file. but i added a additional / at the end of the allow-root directory and it was unable to allow root access into the folder. E.G. it didn't work with the / behind the path "server_args = -f --allow-root=/usr/local/cvsrepository/ pserver" It worked after this. "server_args = -f --allow-root=/usr/local/cvsrepository pserver" In the process i also turned off my selinux. But now i'm turning it back on and testing if cvs will run along side it. |
All times are GMT -5. The time now is 07:49 AM. |