trouble setting up Chroot'd CVS Server: "no such user" 

http://groups.google.com/groups?hl=en&threadm=fa.k53075v.qg8n8a%40ifi.uio.no&rnum=3&prev=/groups%3Fq%3D%2527no%2Bsuch%2Buser%2527%2BCVSROOT/passwd%26num%3D50%26hl%3Den%26sa%3DG%26scoring%3Dr

Newsgroups: fa.info-cvs
Date: 2001-06-15 14:18:49 PST

I have been trying to setup a chroot cvs server for a while now, but keep running into the same problem. I have created a user cvs to run the server under, and have chroot'd the server to /home/cvs/jail/

i have followed the instructions in a few howtos on setting up a Chroot CVS Server, but always run into this problem:

I am able to login and authenticate with the pserver alright, but when I try to import a new project into the respository I get :

[rae@skywalker myproj]$ cvs -d $CVSROOT import myproj v1 r1
Fatal error, aborting.
cvs: no such user
cvs import: authorization failed: server vader rejected access to /cvsroot
for user rob

The respository is setup in /home/cvs/jail/cvsroot

the CVSROOT/passwd file contains:

rob::cvs
billy::cvs
susy::cvs

the CVSROOT/readers file contains:

susy

the CVSROOT/writers file contains:

rob
billy

(Just using sample names )

But each time I get the no such user error.

I have gone seaching though the cvs-info mailing list archive, and found no other mention of this problem. I am curious though, is a chroot jail necessary? In one thread about the chroot patch for 1.10, someone posted that it was easy for a malicious user to execute a script and escape from the chroot jail, which makes me wonder what is the point then of a chroot jail?

trouble setting up Chroot'd CVS Server: "no such user" 

> cvs: no such user

Please read the sections of the manual on setting up a CVS server, connecting to a server, and possibly "Trouble connecting to a CVS server" in the "Troubleshoting" section. There is a manual available online at http://cvshome.org/docs/manual .

It looks like you didn't log in or logged in with an invlaid password.

Derek