CVS Configuration Help

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat CVS Configuration Help
# 1  
Old 07-24-2009
CVS Configuration Help

Hello,

I have read a great deal of documentation on CVS and I hope I have not overlooked what I need but I have certain issues with CVS that I cannnot resolve.

The setup for the /etx/xinetd.d file I have is as follows:


Code:
# 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 cvspserver2
{
        disable                 = yes
        port                    = 2401
        socket_type             = stream
        protocol                = tcp
        wait                    = no
        user                    = root
        log_type                = FILE /var/log/cvspserver2.log
        passenv                 = PATH
        server                  = /usr/bin/cvs
        env                     = HOME=/var/cvs
        server_args             = -f --allow-root=/var/SWICVS pserver
#       bind                    = 127.0.0.1
}

I do not want to cvs to run as root. Can I change users? If I can , does server_args have to change?

As well I want users to be able to access the repositories ONLY by ssh. How do I make the necessary configurations?

Thanks
# 2  
Old 07-24-2009
You should be able to run cvs pserver as any user. On many systems, there is usually a "cvs" user dedicated to serving cvs repository only. No, there should not be any server args change needed.

The allow-root just tells cvs the root of the repository being served by pserver and has nothing to do with user root.

If you search for "cvs over ssh" you should find some articles about how to configure it. Let's try them first.
# 3  
Old 07-26-2009
Will this work?

Quote:
Originally Posted by cbkihong
You should be able to run cvs pserver as any user. On many systems, there is usually a "cvs" user dedicated to serving cvs repository only. No, there should not be any server args change needed.

The allow-root just tells cvs the root of the repository being served by pserver and has nothing to do with user root.

If you search for "cvs over ssh" you should find some articles about how to configure it. Let's try them first.
I have read a lot of them. The problem with most of them is that they provide methods for the CLIENT TO connect to the server via ssh2. What I need however is a method to ensure that that the clients HAVE CONNECT VIA SSH2. If I make the connection variable pserverssh2 instead of pserver will that to do the trick?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cvs manipule.

Hello all, What i need to do is manipulate a squid log file. I have many milions of file in this format: 1442814667.478 76 4.3.2.1 TCP_MISS/200 31845 GET http://pippo.com/inde.html - DIRECT/1.2.3.4 text/css What i need to do is transform field 7 from Pippo.com - 404 File Not Found in... (4 Replies)
Discussion started by: aka0017
4 Replies

2. Shell Programming and Scripting

CVS Automation

Hi All, I am just looking for CVS automation for SQL scripts. Normally Devs will check in new sql scripts or they will update the existing sql scripts with new query. We will take the scripts from CVS and run in DB. I am thinking to automate that process like whenever a new script is checked in... (1 Reply)
Discussion started by: pvmanikandan
1 Replies

3. UNIX for Dummies Questions & Answers

Can you automate CVS?

Currently we have a load of files which we manually edit and then commit back into CVS ready for whoever else to edit. I have now made a script which auto-populates these files, however the powers that be still want them accessible via CVS. Is there a way I can automatically commit these files... (7 Replies)
Discussion started by: JayC89
7 Replies

4. Red Hat

CVS on redhat

Hi all, i am trying to set up a CVS server on linux and to remote access the repository using WinCVS. I am facing some problem and i am unsure whether is it the client or the server not set up properly. In my winCVS client, i clicked Admin ->login and i specify my CVSROOT to be ":... (5 Replies)
Discussion started by: new2ss
5 Replies

5. Debian

What is CVS...?

Hi everyone... Could one of you kind Linux experts please let me know what CVS is In return I will kindly give you a thumbs up :b: a good trade I feel!! (1 Reply)
Discussion started by: TonyChapman
1 Replies

6. Solaris

cvs error

dear all I'm one of the CVS administrators here at my company and i have this cvs error in the messages Sep 18 07:20:37 dev cvs: Dying gasps received from client. can any one help me about this error ............. thanks murad jaber (1 Reply)
Discussion started by: murad.jaber
1 Replies

7. UNIX for Advanced & Expert Users

Cvs Cr-lf

I've experienced a problem with CVS when I've checked out sh script. When new build was created sources were checked out from CVS under Windows. Later this build was deployed under Linux und I recieved error from shell becouse of CR-LF EOL in file. I've tryed command dos2unix and become script... (7 Replies)
Discussion started by: Hitori
7 Replies

8. UNIX for Dummies Questions & Answers

CVS on UNIX

Hey guys, I am trying to setup CVS to run with an SSH connection, but am hitting a brick wall. I seem to be getting CVS to login correctly, but when I attempt to check out a module I am getting the following error: ksh: cvs: not found This is kinda implying to me that its not loading... (2 Replies)
Discussion started by: LiquidChild
2 Replies

9. UNIX for Advanced & Expert Users

Regarding Synchronizing 2 CVS.

Hi As a System Admin, I have to handle synchronzing 2 CVS. But I'm new to CVS & hardly have any knowledge of such tools. Please help me, is there any way, that can automatize the process for synchronizing the 2 remotely residing CVS database with out manual intervension. Ex:- CVA... (1 Reply)
Discussion started by: S.Vishwanath
1 Replies

10. Shell Programming and Scripting

CVS, Perl and VI

I am trying to write a Perl script to cover a few CVS commands (setup specifically), however the VI screen that pops up and requests a comment, what is the best way of entering the text automatically (will be a variable name) and then saving that cvs notification from my Perl program? Help is... (2 Replies)
Discussion started by: Shakey21
2 Replies
Login or Register to Ask a Question