|
|
#1 |
|
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? |
|
|
|
|
|
#2 |
|
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? |
|
|
|
|
|
#3 |
|
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 . |
|
|
|
|
|
#4 |
|
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. |
|
|
|
![]() |
|
|