LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-08-2006, 06:14 AM   #1
Akhil Kapoor
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Rep: Reputation: 0
how to setup VCS


Hi,

I am trying to setup VCS for personal use. I have set it up on server and it works.

trying to connect it remotely it worked with ext and ssh. I want to use pserver method as it uses unique port 2401.

This seems to be working but when trying to connect from remote linux laptop the laptop gives /home cvsroot not found and the messge in server log file is that login refused.

Is this a pam issue or vcs issue.

The pam side is confusing for me.

Thanks
 
Old 09-09-2006, 04:30 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
How are you trying to connect to pserver? The correct command should be:
Code:
cvs  -d:pserver:user@cvs.server.com:/<path to CVSROOT> login
Most likely your "path to CVSROOT" is wrong.
You can run:
Code:
echo $CVSROOT
in the cvs server to find out the correct path.
 
Old 09-10-2006, 09:14 AM   #3
Akhil Kapoor
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the reply. echo $CVSROOT on cvs server is /home/cvsroot.
on server the checkout etc is working.

from remote if I connect using ext: instead od pserver it works.

It is only when using pserver that I am having problem.

using cvs login command on remote I get /home/cvsroot no such repository

on the cvs server in /var/log/messages I get Sep 10 15:08:51 kslserver cvs: login refused for /home/cvsroot

This is why I was suspecting the PAM module which is probably not letting me login using pserver.

content of my /etc/pam.d/cvs is
#%PAM-1.0
auth sufficient pam_permit.so
account sufficient pam_permit.so


the content of /etc/xinetd.d/cvspserver is

# default: off
# description: The CVS service can record the history of your source \
# files. CVS stores all the versions of a file in a single \
# file in a clever way that only stores the differences \
# between versions.
service cvspserver
{
disable = no
port = 2401
socket_type = stream
protocol = tcp
wait = no
user = cvs
passenv =
server = /usr/bin/cvs
env = CVSROOT=/home/cvsroot
server_args = -f --allow-root=/var/cvs pserver
bind = 192.168.2.3
}


Any pointers to how I should progress.


Rhanks
 
Old 09-10-2006, 11:31 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
server_args = -f --allow-root=/var/cvs pserver
According to the above line in your xinetd configuration your CVSROOT is /var/cvs. What is the correct dir anyway, it's /home/cvsroot or /var/cvs?
Make the correct changes, restart xinetd and see what happens.

Regards
 
Old 09-20-2006, 03:03 PM   #5
Akhil Kapoor
LQ Newbie
 
Registered: Feb 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the hint

That worked.

Akhil
 
  


Reply



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
LXer: Intel, SAP among VCs investing $18.5 million in MySQL LXer Syndicated Linux News 0 02-13-2006 05:46 PM
Nautilus-VCS: how to install? jdpipe Linux - Software 0 06-15-2005 08:42 AM
eBay Calendar (vCalendar, vcs?) deschman Linux - Software 0 10-07-2004 02:21 PM
VCS integration with MS Visual Studio linuxnube Linux - Software 0 01-20-2004 09:26 AM
vcs/1 Gilgongo Linux - Newbie 0 10-09-2002 06:27 PM

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

All times are GMT -5. The time now is 01:40 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
Open Source Consulting | Domain Registration