On Wed, Dec 26, 2001 at 01:05:13AM -0800, Prasad Paranjape wrote:
> I ahve instlled cvs in PCQRHL7.1.I have made necessary
> changes in xinetd.conf as mentioned in article by
> Dr.Tariq Sani in Dec.2001 PCQuest magazine.He mentions
> that the entries are to be done in inetd.conf but
> xinetd is extended inetd so I made entries in
> xinetd.conf.I aso created the link to /etc/passwd file
> using "ln -s /etc/passwd passwd" from directory
> /usr/local/cvsroot/CVSROOT.
> I have expoeted the Env Variable CVSROOT in
> .bash_profile as mentioned in the article.
I should have x-posted this errata to Dr. Sani's article here.
You have to fix the --allow-root argument, and also restart xinetd.
Date: Mon, 17 Dec 2001 12:03:57 +0530
From: "Binand Raj S." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Article on CVS in PCQ Dec 2001
Hi All,
There is this nice introductory article on CVS in PCQ Dec. 2001 issue
by Dr. Tarique Sani. Though well written and would serve as a painless
initiation to CVS, there is one error(?) that I noticed.
Recent versions of many popular linux distributions use xinetd (including
PCQLinux 7.1). The inetd setup detailed in the article is not appropriate
for xinetd, and it will not work.
For xinetd, one needs a file /etc/xinetd.d/cvspserver as:
# default: off
# description: pserver is the CVS server. This runs on port 2401.
service cvspserver
{
socket_type = stream
protocol = tcp
wait = no
user = root
server = /usr/bin/cvs
env = HOME=/var/cvsroot
server_args = --allow-root=/var/cvsroot/block pserver
disable = no
}
Adjust the --allow-root option for your use. Also, the env = line
is important, because of the way xinetd sets HOME for programs that
it spawns. One can have as many --allow-root entries as required.
Binand
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help