CVSROOT/passwd problems.
Hi! I have been using the SystemAuth=yes method to authenticate users forCVS Server. (available in the CVSROOT/config file). The System I am using isRed Hat 8 with cvs-1.11.2. The repository is in /cvs directory. Thepermissions for this are ug+rwx. It belongs to root user and cvs group. Currently the requirements changed and I was required to setup ascenario to use the CVSROOT/passwd file for the authentication procedure.The steps I carried out were: a) Created a group 'cvs'. b) Assigned 5 users to it. These were already existing users on the CVSServer machine. c) Copied the passwords from the System passwords file to the CVSROOTdirectory. d) Changed permission for this as ugo+r (read only for user, group andothers). e) The structure of the file is thus, gagneet:hfhsdgst/gjkgj/..*:gagneet xyz:askjdflkaj;;;dmjdjkdl:xyz abc:askjdflkaj;;;dmjdjkdl:abc uvw:askjdflkaj;;;dmjdjkdl:uvw pqr:askjdflkaj;;;dmjdjkdl:pqr(Earlier I had also tried with giving the user name at the end., i.e.,gagneet:hfhsdgst/gjkgj/..* )On the client side I am using WinCVS 13b10. When I try to now login thefollowing error message is given.cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login aborted]: gagneet: no such user* CVS exited normally with code 1 *without the system username it gives:cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login aborted]:: no such user* CVS exited normally with code 1 *Also, when I give a wrong password, the following message comes up.cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvscvs [login aborted]: authorization failed: server cvsserver rejected accessto /cvs for user gagneet* CVS exited normally with code 1 *This should mean that the settings on the CVS Server are fine but they arenot working with the CVSROOT/passwd file.My cvspserver file in the /etc/xinetd.d/ directory contains the followingcontent:# default: on## service cvspserver#service cvspserver{disable = noid = cvspserverenv = HOME=/home/gagneetsocket_type = streamprotocol = tcpport = 2401wait = nouser = rootpassenv = PATHserver = /usr/bin/cvsserver_args = -f --allow-root=/cvs pserver}Please Help. I do not know now what else is to be done.. I have tried allfrom my side..Thank youGagneet ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re CVSROOT/passwd problems.
Hi have you copied the passwds from /etc/passwd file ??? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gagneet SinghSent: Thursday, December 26, 2002 5:10 PMTo: [EMAIL PROTECTED]Subject: CVSROOT/passwd problems. Hi! I have been using the SystemAuth=yes method to authenticate users forCVS Server. (available in the CVSROOT/config file). The System I am using isRed Hat 8 with cvs-1.11.2. The repository is in /cvs directory. Thepermissions for this are ug+rwx. It belongs to root user and cvs group. Currently the requirements changed and I was required to setup ascenario to use the CVSROOT/passwd file for the authentication procedure.The steps I carried out were: a) Created a group 'cvs'. b) Assigned 5 users to it. These were already existing users on the CVSServer machine. c) Copied the passwords from the System passwords file to the CVSROOTdirectory. d) Changed permission for this as ugo+r (read only for user, group andothers). e) The structure of the file is thus, gagneet:hfhsdgst/gjkgj/..*:gagneet xyz:askjdflkaj;;;dmjdjkdl:xyz abc:askjdflkaj;;;dmjdjkdl:abc uvw:askjdflkaj;;;dmjdjkdl:uvw pqr:askjdflkaj;;;dmjdjkdl:pqr(Earlier I had also tried with giving the user name at the end., i.e.,gagneet:hfhsdgst/gjkgj/..* )On the client side I am using WinCVS 13b10. When I try to now login thefollowing error message is given.cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login aborted]: gagneet: no such user* CVS exited normally with code 1 *without the system username it gives:cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvsFatal error, aborting.cvs [login aborted]:: no such user* CVS exited normally with code 1 *Also, when I give a wrong password, the following message comes up.cvs -d :pserver:gagneet@cvsserver:/cvs loginLogging in to :pserver:gagneet@cvsserver:2401/cvscvs [login aborted]: authorization failed: server cvsserver rejected accessto /cvs for user gagneet* CVS exited normally with code 1 *This should mean that the settings on the CVS Server are fine but they arenot working with the CVSROOT/passwd file.My cvspserver file in the /etc/xinetd.d/ directory contains the followingcontent:# default: on## service cvspserver#service cvspserver{disable = noid = cvspserverenv = HOME=/home/gagneetsocket_type = streamprotocol = tcpport = 2401wait = nouser = rootpassenv = PATHserver = /usr/bin/cvsserver_args = -f --allow-root=/cvs pserver}Please Help. I do not know now what else is to be done.. I have tried allfrom my side..Thank youGagneet ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVSROOT/passwd problems.
Gagneet Singh wrote: I have been using the SystemAuth=yes method to authenticate users for CVS Server. (available in the CVSROOT/config file). The System I am using is Red Hat 8 with cvs-1.11.2. The repository is in /cvs directory. The permissions for this are ug+rwx. It belongs to root user and cvs group. You are not using CVS - you are using CVSNT (http://www.cvs.org). They have a mailing list. You should have better chances if you post your problem there. /|/|ike ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs