LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-28-2007, 01:34 PM   #1
Yig
Member
 
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?

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

Rep: Reputation: 166Reputation: 166
With inetd (which uses a different syntax in its inetd.conf file), this can be done with multiple --allow-root values. For example:
Code:
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:
Code:
server_args = -f --allow-root=/usr/local/sceip1 --allow-root=/usr/local/sceip2 pserver
 
Old 08-30-2007, 11:49 AM   #3
Yig
Member
 
Registered: Aug 2005
Location: Montreal, Qc
Distribution: CentOs 4.5/5.0
Posts: 113

Original Poster
Rep: Reputation: 15
Thanks!

Putting everything on one line worked.
 
  


Reply


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 08:57 AM
CVS to pserver.netfilter.org liderbug Linux - Software 3 11-29-2006 01:43 PM
pserver doesn't work on fedora core 4 windyang12 Fedora 3 01-07-2006 05:14 AM
is pserver (CVS) insecure? bschiett Linux - Newbie 3 03-29-2005 03:52 AM
installing cvs pserver harisankar Fedora 1 07-25-2004 12:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:08 AM.

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