Hey everyone

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?

Oh yes, i am running Red Hat 7.1 with
CVS 1.11 ( cvs-1.10.8-8.i386.rpm )

Thanks

 -------------------------
< Rob                     >
< [EMAIL PROTECTED] >
 -------------------------
        \   ^__^
         \  (**)\_______
            (__)\       )\/\
             U  ||----w |
                ||     ||



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to