info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS server setup without being su?


From: Mark D. Baushke
Subject: Re: CVS server setup without being su?
Date: Wed, 01 Sep 2004 08:36:11 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yen-Hao Huang <address@hidden> writes:

> Dear all,
>       Is it possible to set up a CVS server without being able to log
> in as root? If so, is there a step by step guide?

Yes. However, you will need to use the :ext: rather than the :pserver:
protocol.

    umask 002
    CVS_RSH=ssh; export CVS_RSH    ;# csh users use 'setenv CVS_RSH ssh'
    cvs -d :ext:host.dom.ain:/path/to/your/repository init

Now any user who is in the group of the /path/to/your/repository on the
host.dom.ain host will be able to do things like this:

    cvs -d :ext:host.dom.ain:/path/to/your/repository checkout -d top .
    cd top
    mkdir new-module
    cvs add new-module
    cd new-module
    ...create new files and 'cvs add' them...
    cvs commit

All of the users who want to use your CVS server will need to be able to
login to your server machine via 'ssh' in the above example, or you could
use 'rsh' if you have a secure environment.

        Good luck,
        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFBNexr3x41pRYZE/gRAqM5AJ4loWu2m1DpkGCGTA78W5EeLbRzNgCgwGhH
SOzxHxrhDogaWmsrc0mO8p4=
=Era1
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]