I have a couple of questions.
My current situation is I started working at a company with a solaris 8
box that has a cvs repository on it. The box is old is being replaced
by a muh newer box. The long and the short of it is that I need to get
cvs off of the old box and onto the new box.
The problem, ... I have never used or worked with cvs ... ever.
You then should probably issue full stop to your other questions for a
period of time and see my answer to your question #4.
BTW looks like you did an OK job analyzing your current setup.
What I think I know:
CVS runs on the solaris box as the cvs user.
It is started as part of the inetd service. (entry below)
cvspserver stream tcp nowait cvs /usr/local/bin/run.cvs
The run.cvs file sets a variable that contains all of the repositories,
and then runs the following
exec /usr/local/bin/cvs -f $myrepository pserver
the myrepository variable looks something like this
--allow-root=/cvs/repository2 ..... "
The /etc/services file has the following 2 entries
** Currently, the server running cvs is on a unix domain. The new
server will not be on a unix domain.
Now .. Getting slightly more comlicated, and more into the unknown.
How are the users for cvs created. From the reading I did, it looks
like they might be somehow created from the passwd file. It is my
intention to not create a username on the unix server for every user
that has access to cvs.
Question1. Is there a way to create users in CVS without using the
/etc/passwd or yppasswd files? If so, How.
Yes. LDAP ...:) or using cvspserver itself.
LDAP: you will have to look up yourself (not sure but you might even be
to use an MS server for username/password with LDAP, though I think most
would have the MS machines authenticate using a Unix LDAP server instead).
cvspserver: you will have to maintain a CVSROOT/password file for each
--allow-root listed in your run.cvs script, and AFAIK they will have to be
maintained by hand as cvspserver does not allow for the setting/updating
passwords through the pserver protocol.
Question2. How do I get the cvs user accounts from the old server to
the new server.
If they are already in CVSROOT/password files, then as you tar -> untar
repositories from one machine to the other they come along for the ride.
if they are in /etc/[passwd/shadow] you need to bring relevant portions of
those files along (be careful)... but you indicated you did not want to
if the are in NIS/LDAP, configure your new server to authenticate against
NIS/LDAP server and you are done... but you indicated you did not want to
Question3. As far as transfering the CVS repository from one server to
the other, can I just tar up the directory, and transfer the tar file ?
pretty much, see what the manual has to say.
Question4. What else am I missing.
A copy of the manual for local reading, read it all if you are going to
the admin. It's text may not keep you awake at night (unless pserver
you, and it should), but it will help you do your job correctly.
If pserver does not scare you, then either you have a superb firewall, or
lists.gnu.org comes back up you might need to do a search on the words
Thank you for your help.