Title: Password authentication using CVS...

Hi,

I just wanted to know how would you implement password authentication so that a user needs to login in to CVS before he can start any checking in out commit changes to the source tree. I read the manual and came up with the following process that validates users. Since I dont plan to use separate logins and passwords for CVS therefore I'm not making any passwd file in the CVSROOT directory. I'll let the user login using the system's user-lookup routine.

On the server side:    

1. Added the line to the /etc/services file
                cvspserver      2401/tcp

2. Added the line to the /etc/inetd.conf file
                cvsperver       stream          tcp     nowait          root            <cvs source path>       cvs --allow-root=<cvs root> pserver


On the client side:

cvs -d :pserver:<username>@<server name>:<CVSROOT> login

At the moment I'm trying to login to the server with in located in my company's network. While the inetf file handles internet requests. I'm not sure whether it would handle requests on the local network as well. The server is running Sun Solaris. Problem that I'm facing is when I try to log on, I'm prompted for a password. Upon giving the password I receive the following message:

cvs [login aborted]: recv() from server <server name>: Connection reset by peer

Reply via email to