Go Back   The macosxhints Forums > OS X Help Requests > System



Reply
 
Thread Tools Rate Thread Display Modes
Old 01-27-2004, 06:06 PM   #1
tron_thomas
Prospect
 
Join Date: Aug 2003
Posts: 41
Can't log into CVS

I setup a CVS repository and configured CVS so I could access it remotely. Everything was working fine. Now something has changed on my system and I can't log in anymore. When I try to login in, even on the local computer, I receive the following message:

cvs [login aborted]: connect to CvsServer:2401 failed: Connection refused

What could be causing this problem and how can I fix it?
tron_thomas is offline   Reply With Quote
Old 01-27-2004, 11:42 PM   #2
tron_thomas
Prospect
 
Join Date: Aug 2003
Posts: 41
I had things setup incorrectly, and that was giving me the wrong error message.

I still cannot log into CVS. The error I'm now getting is:

cvs [login aborted]: authoriztion failed: server rejected access

What can I do to resolve this problem?
tron_thomas is offline   Reply With Quote
Old 01-28-2004, 01:13 PM   #3
java_guy
Major Leaguer
 
Join Date: Jan 2003
Location: Portland, OR
Posts: 288
Let's start with getting the local access working before we work on getting remote access working.

Let's assume that your cvs repository is in /foo.

What do you get when you type the following from the command line?
Code:
cvs /foo co .
You can use an actual module name instead of using the "." to just get a single module.
java_guy is offline   Reply With Quote
Old 01-28-2004, 02:37 PM   #4
tron_thomas
Prospect
 
Join Date: Aug 2003
Posts: 41
I finally got it working.

Here is what I had to do:

First I modified the "config" file located in the CVSROOT directory located in the repository. I set the SystemAuth value to "no"

Second I had to create a "passwd" file in that same CVSROOT directory. I used a command simliar to the following to generate an encrypted password:
bash> perl -e 'print crypt "password", "sa"'

Where "password" was my user password and "sa" was a salt value to aid in the encryption. I added this password to the "passwd" file in the form:
username:encrypted_password

After doing that, I was able to successfully log into CVS.

I don't know why I had to go through all of this to get CVS to work. I never had the need for any of this before, and CVS worked just fine at that time.

I'm also not sure what kind of security problems any of this causes.

Right now I don't care too much. I just want to finish doing some stuff I need to do with CVS, and then I'm going to see about getting CVS login to work through SSH instead of pserver.
tron_thomas is offline   Reply With Quote
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 On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 10:08 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.