[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
trouble setting up Chroot'd CVS Server: "no such user"
From: |
Rob Eso |
Subject: |
trouble setting up Chroot'd CVS Server: "no such user" |
Date: |
Fri, 15 Jun 2001 14:02:09 -0700 (PDT) |
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 :
address@hidden 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 >
< address@hidden >
-------------------------
\ ^__^
\ (**)\_______
(__)\ )\/\
U ||----w |
|| ||
- trouble setting up Chroot'd CVS Server: "no such user",
Rob Eso <=