Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-28-2007, 02:34 PM   #1
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Rep: Reputation: 15
Question about multiple pserver

I used xinetd to configure pserver on my CentOS server. I need that to access a CVS reposiroty.

So I created a file called cvspserver in /etc/xinetd.d:

service cvspserver
socket_type = stream
protocol = tcp
wait = no
user = root
passenv = PATH
server = /usr/local/bin/cvs
server_args = -f --allow-root=/usr/local/sceip pserver

That is working fine.

But the problem is that I would like to use pserver to connect to a second repository.

I created another file in xinetd.d but it's not working.

So is there a way to specify 2 repositories that can be accessed with pserver?

Old 08-29-2007, 11:15 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 167Reputation: 167
With inetd (which uses a different syntax in its inetd.conf file), this can be done with multiple --allow-root values. For example:
cvspserver stream tcp nowait root /usr/bin/cvs cvs -f --allow-root=/usr/local/sceip1 --allow-root=/usr/local/sceip2 pserver
With xinetd, I'd guess you'd change your server_args line to something like this:
server_args = -f --allow-root=/usr/local/sceip1 --allow-root=/usr/local/sceip2 pserver
Old 08-30-2007, 12:49 PM   #3
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Original Poster
Rep: Reputation: 15

Putting everything on one line worked.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cvs pserver doesn't work somayeh Linux - Server 1 07-29-2007 09:57 AM
CVS to liderbug Linux - Software 3 11-29-2006 02:43 PM
pserver doesn't work on fedora core 4 windyang12 Fedora 3 01-07-2006 06:14 AM
is pserver (CVS) insecure? bschiett Linux - Newbie 3 03-29-2005 04:52 AM
installing cvs pserver harisankar Fedora 1 07-25-2004 01:49 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration