|
From: | David D. Hagood |
Subject: | Re: CVS /etc/inetd.conf question |
Date: | Mon, 30 Apr 2001 16:41:48 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux 2.4.3 i686; en-US; rv:0.8.1+) Gecko/20010423 |
John Hsieh wrote:
In order to configure the CVS server, modify the /etc/inetd.conf is necessary.But in the RedHat 7.0 version software, there is no /etc/inetd.confWhere is the file of /etc/inetd.conf or similar configuration file in RedHat 7.0?
RH7.0 uses xinetd, which stores its configuration in /etc/xinetd.d/<servicename>
You add files to that directory to add services: create a file cvspserver there and fill this in:
# default: on # # service cvspserver # service cvspserver { disable = no id = cvspserver env = HOME=/home/cvs socket_type = stream protocol = tcp port = 2401 wait = no user = root log_on_failure += USERID server = /usr/bin/cvs server_args = -f --allow-root=<your root here> pserver }The /home/cvs dirctory created to work around CVS bug #1, the "cannot access /root/.cvsignore" error: create this directory, make it owned by root, readable by all, and not writable by anybody, and CVS will be happy.
[Prev in Thread] | Current Thread | [Next in Thread] |