PDA

View Full Version : CVS authentication


jpipitone
09-19-2002, 02:50 PM
I've succesfully installed CVS on OS X Server 10.1.4....

When I try to login via the command prompt: cvs login I am asked for the CVS password, when I type in the correct password (I'm assuming since I've created a blank passwd file the password is determined by the users manager in X) I get the response:

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

Any help would be MUCH appreciated!

Joe Pipitone
joe@spdesign.net

persquare
09-24-2002, 04:06 PM
Did you check that firewall is open on port 2401?
Most people do recommend SSH instead of CVS' pserver since pserver uses cleartext passwords.
AFAIK all you have to do (as long as you are a user on the machine) is to set:
setenv CVS_RSH ssh
setenv CVSROOT :ext:username@host.domain:/path/to/cvsroot

Then cvs co my_module should work.

HTH,
Per

jpipitone
09-24-2002, 04:11 PM
Thanks for teh information - will I be able to use MacCVS Pro to check in and out files with Jaguar? Is there anything different in terms of setup and configuration?

persquare
09-24-2002, 05:08 PM
If you go for pserver search hints on how to configure xinetd, if you go for SSH you shouldn't have to do anything special.

I don't know about MacCVS, but if it can handle secure connections it should work. I'd recommend CVL, www.sente.ch/software/cvl/ (http://www.sente.ch/software/cvl/)

jpipitone
09-26-2002, 03:57 PM
OK....i tried a fresh install of OS X 10.2....i got everything installed and running - but when I try to do a "cvs login" i get this error:

cvs login: Sorry, you don't have read/write access to the history file
cvs [login aborted]: /usr/local/cvsroot/CVSROOT/history: Permission denied

What am I doing wrong? I thought I gave the users permission here..

I have one user, joe, who should be able to log in....

Thanks

jpipitone
09-26-2002, 04:01 PM
Where do I create a module? I have done a few more things, and now it's saying that it cannot find module `myproj'....any ideas?

Joe

persquare
09-26-2002, 04:17 PM
OK, now we're on the subject of using cvs here. A module is a set of (related) files stored in cvs. You wouldn't have a my_module unless you created it yourself;-)

See man cvs for info on how to create modules. The command is cvs init with some options to specify files, module name etc.

A good introduction can be found at CocoaDevCentral (http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000022.php)

Good luck!