Re: Fedora core 4 cvs (xinetd) problem (Solved)

From: Gang (gzhang_ocx_at_yahoo.com)
Date: 11/24/05


Date: Wed, 23 Nov 2005 23:01:27 -0500

I was able to solve the problem by download the latest source rpm from
redhat and compile it. The one I built does not have such problems.

Thanks
Gang

"Gang" <gzhang_ocx@yahoo.com> wrote in message
news:K82dnb-mz-bdSR7eRVn-iA@comcast.com...
> Hi,
> I just got core 4 installed, and trying to install a cvs server.
> Everything looks fine (I can connect to port 2401, and response on telnet
> looks normal), except, I have to start xinetd (/usr/sbin/xinetd) as root,
> instead of "service xinetd start" (start in /etc/init.d/xinetd).
>
> If I start /usr/sbin/xinetd directly, everything is OK.
> If I start /etc/init.d/xinetd (same as service xinetd start), it always
> give promission problems (example,
> cvs checkout: failed to create lock directory for `/cvsroot/somedir'
> (/cvsroot/CVSROOT/#cvs.lock): Permission denied.
>
> And this happens even if I just put 1 line in /etc/init.d/xinetd file
> (call /usr/sbin/xinetd directly). My question is, is the binary version
> of xinetd start itself as someone else when called from
> /etc/init.d/xinetd?? If so, what is the user id it starts as?
>
> Setup:
> Fedora Core 4.
> All latest updates to Nov 22, 2005.
> I created user cvs and group cvs, and added myself, root to cvs group, so
> I can login as me (not root) and change /cvsroot/CVSROOT/* files.
>
> The following is /etc/xinetd.d/cvs file:
> service cvspserver
> {
> disable = no
> port = 2401
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> passenv = PATH
> server = /usr/bin/cvs
> env = HOME=/cvsroot
> server_args = --allow-root=/cvsroot -f pserver
> }
>
> I have used cvs -d /cvsroot init to create the reposit. Initially I also
> got login problems (cvs login and it will complain permission denied
> trying to access /cvsroot/CVSROOT/config file, when start from xinetd
> script. Start /usr/sbin/xinetd and that problem will go away, and after I
> reboot I was able to login even if cvs is started from xinetd script.
>
> Anyone got any ideas?
>
> Thanks!
> Gang
>



Relevant Pages

  • Re: Fedora core 4 cvs (xinetd) problem (Solved)
    ... > I just got core 4 installed, and trying to install a cvs server. ... > I created user cvs and group cvs, and added myself, root to cvs group, so ... > got login problems (cvs login and it will complain permission denied ... > reboot I was able to login even if cvs is started from xinetd script. ...
    (linux.redhat.misc)
  • Re: Fedora core 4 cvs (xinetd) problem (Solved)
    ... > I just got core 4 installed, and trying to install a cvs server. ... > I created user cvs and group cvs, and added myself, root to cvs group, so ... > got login problems (cvs login and it will complain permission denied ... > reboot I was able to login even if cvs is started from xinetd script. ...
    (alt.os.linux.redhat)
  • RE: Pen testing a CVS server
    ... If users are using pserver mechanism, CVS password is usually kept in using ... trying to login to the pserver with the ... implement and enforce WLAN security policies to lockdown enterprise WLANs. ...
    (Pen-Test)
  • CVS question..
    ... When CVS does not shows a login id or passwd for him. ... Any views expressed in this message are those of the individual sender, ...
    (SunManagers)
  • controlling cvs from php
    ... php script utilizing the 'cvs' command. ... my testing I've been unable to do it with either command. ... an error saying "used empty password; try 'cvs login' with a real ...
    (php.general)