LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-25-2007, 02:28 AM   #1
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
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!
 
Old 02-25-2007, 07:40 PM   #2
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
Old 02-26-2007, 02:26 AM   #3
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Original Poster
Rep: Reputation: 0
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 server: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~
 
Old 02-26-2007, 08:23 PM   #4
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
CVS Login: Authorization Failed nestorjb Linux - Newbie 7 02-14-2007 04:18 PM
CVS login aborted - no such file or directory thetawaverider Linux - Software 1 07-24-2006 06:43 PM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 04:30 PM
Authorization Failed Poskus Fedora 1 02-23-2004 08:08 AM
Config problem: "Authorization failed: server rejected access" -- help please! womble_timsk Linux - Networking 0 05-22-2003 04:09 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration