[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: disabling pserver and switching to ext server
From: |
Mark D. Baushke |
Subject: |
Re: disabling pserver and switching to ext server |
Date: |
Tue, 11 Jul 2006 17:51:44 -0700 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ankush grover <address@hidden> writes:
> I am using cvs 1.11.17 on FC3 with pserver protocol. Now I am
> thinking of switching to ext protocol. What are the steps needed to
> stop pserver and switch to ext protocol.
Good choice.
> I am using cvs under xinetd.
Yes, this is how the :pserver: starts.
> service cvspserver
> {
> disable = no
> Port = 2401
> socket_type = stream
> protocol = tcp
> wait = no
> user = root
> passenv =
> server = /usr/bin/cvs
> only_from = 192.168.2.0/24
> bind = 192.168.2.25
> server_args = --allow-root=/cvs/test1 --allow-root=/cvs/test2 -f pserver
> }
>
> What I have to do to stop pserver (permanently disabling pserver use),
for each repository to be removed from :pserver: use, remove the
- --allow-root=/path/name argument and when all of them are gone, you may
remove the entire service cvspserver entry from your xinetd.
> switch to ext server and the most important how do I create the new
> repositories means what settings need to be done in the "cvspserver"
> service.
To use :ext:, your users will need system accounts on your cvs server.
Personally, I like to allow restricted shell access that only allows the
'cvs' command and possibly the 'uptime' command to be given. This is
not a requirement.
If the user is able to run 'ssh your.cvs.server cvs server' then you
should be all set.
> Please let me know if you need any further inputs.
You may wish to use google to look for how to setup ssh and run
ssh-agent as you probably do not want to enable 'rsh' on your cvs
server.
Enjoy!
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)
iD8DBQFEtEegCg7APGsDnFERAqMoAJwO3kMSY1JPTNXlBALPkbVoLynAOQCfSP4p
iB2Hh5kRTteHniG+1yQaJ7Q=
=Wn/K
-----END PGP SIGNATURE-----