LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Security Week: July 28th, 2014
Linux Advisory Watch: July 25th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
Getting the tools

2. Getting the tools

2.1. What you need

You'll need the following things in order to set up a secure Pserver:

CVS

Of course, you will need to have CVS in order to be running it. You can get it here.

cvsd

cvsd is a program that will run the CVS Pserver in a chroot jail. You can get it here.

SSHd

If you want your developers to have secure access to the repository, you'll have to be running an SSH server. However, setting up that access is beyond the scope of this Mini-HOWTO. More information can be found at the CVS-RCS howto.

2.2. Compiling the tools

If you are compiling from the sources, follow these instructions. If you downloaded binaries, skip ahead to Section 2.2.2.

2.2.1. Compiling CVS

After you have downloaded the CVS sources, unpack them into a directory and cd into it. The default prefix is /usr/local; we've changed it to /usr for this example. You might want to change mandir to wherever your man pages reside (the default is PREFIX/man).


$ ./configure --prefix=/usr
$ make
# make install
   

2.2.2. Compiling cvsd

There are a few configure switches you should be aware of here. The default prefix is /usr/local, which in this document we are changing to /usr. You should also change sysconfdir to /etc, where the system config files usually reside. You might want to change mandir to wherever your manual pages reside as well.


$ ./configure --prefix=/usr --sysconfdir=/etc
$ make
# make install
   

Now lets go on to setting up these wonderful tools.

    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Ottawa Linux Symposium: May get by with a little help from its friends
Black Hat 2014: How to crack just about everything
NSA Playset, 911 hacked and war cats: A wild ride at DEF CON 22
More Details of Onion/Critroni Crypto Ransomware Emerge
Is there Another NSA Leaker? Updated
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.