Re: installing cvs server on redhat linux 8.0

2003-01-30 Thread Riechers, Matthew W
Bruce Douglas wrote:
 
 New to cvs and redhat 8.0. trying to install a cvs server on redhat 8.0
 server. I have the following rpms installed:
 sendmail-8.12.5-7
 sendmail-cf-8.12.5-7
 cvs-1.11.2-5

You should upgrade to CVS 1.11.5 for a recent security fix (plus other
bug fixes). You can get RPMs from the download area of cvshome.org
http://ccvs.cvshome.org/servlets/ProjectDownloadList.

 I'd like to be able to configure the server for both password and anonymous
 access if possible (but I'll take what I can get!)

http://www.cvshome.org/docs/manual/cvs_2.html#SEC29

-Matt


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



RE: installing cvs server on redhat linux 8.0

2003-01-30 Thread Brian Kowald

You don't have to edit xinetd.conf but did you create the file
/etc/xinetd.d/cvsserver?

Here is mine:

service cvspserver
{
port= 2401
socket_type = stream
protocol= tcp
wait= no
user= root
passenv = PATH
server  = /usr/bin/cvs
env = HOME=/cvsrepo
server_args = -f --allow-root=/cvsrepo/TEST pserver
}


This says I have one repository in /cvsrepo/TEST and that I want to use the
pserver protocol

Then restart xinetd.  After that you should see it listening on port 2401


Look at the online manual, most of this stuff in in there.


Next to have to create the reppository at a prompt on the server:

Looks like you did the init. After that I would say stop using local mode
and connect to the repository from a client.

It looks like you just have permissions wrong for your repository. When you
are using local mode (-d /home/cvsroot), the system is going to look at the
permissions of the current logged in user. Set the owner and the group of
the files in the repository to cvs  and put the user you want to be the
administator (you) into the cvs group.


Brian





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bruce
Douglas
Sent: Wednesday, January 29, 2003 10:12 PM
To: [EMAIL PROTECTED]
Subject: installing cvs server on redhat linux 8.0


hi...

New to cvs and redhat 8.0. trying to install a cvs server on redhat 8.0
server. I have the following rpms installed:
sendmail-8.12.5-7
sendmail-cf-8.12.5-7
cvs-1.11.2-5

I'd like to be able to configure the server for both password and anonymous
access if possible (but I'll take what I can get!)

I used the following procedure as a guide to install/configure the server:

edited /etc/services to include the line:

==services:cvspserver 2401/tcp # CVS protocol server

edited etc/inetd.conf to include the following lines :

==# Allow CVS to be accessed as server in a client/server relationship
==cvspserver stream tcp nowait root /usr/bin/cvs
cvs -f -l --allow-root=/raid/cvsroot

(I DO NOT HAVE THIS. IT SEEMS THAT I DO HAVE xinetd.conf. I DIDN'T MAKE
THIS CHANGE)

created a new user as cvs
created a new group as cvs

created a repository directory as /root/cvsroot

changed the folder permissions for cvs

ran the following command:
cvs -d /root/cvsroot init [return]

ran the following command:
cvs -d /root/cvsroot checkout CVSROOT [return]


modified the CVSROOT/config file:

# Set this to no if pserver shouldn't check system users/passwords
SystemAuth=no

# Set `PreservePermissions' to `yes' to save file status information
# in the repository.
PreservePermissions=no

# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
TopLevelAdmin=yes


created /root/CVSROOT/passwd by copying/modifying the /etc/passwd file

== root:x:cvs
== test:x:cvs
== steview:x:cvs


Run the commands

cvs -d /raid/cvsroot add /root/CVSROOT/passwd [return]
cvs -d /raid/cvsroot commit /root/CVSROOT [return]

(the 2nd command returned the following.)
[test@lserver2 test]$ cvs -d /home/cvsroot commit /root/CVSROOT
cvs [commit aborted]: /home/cvsroot/CVSROOT: Permission denied


At this point I realize that I'm lost...

Can anyone point me to documentation that would guide me through the process
of setting up a CVS server on a Redhat 8.0 machine

I've tried to review the cvshome.org docs, but I haven't come across the
right section for actually installing the CVS server I've performed
searches through google, but i've seen different pieces of information

I can't afford to screw this up!!!

Any help/assistance would be greatly appreciated

Thanks

Bruce Douglas
[EMAIL PROTECTED]





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs




___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs



installing cvs server on redhat linux 8.0

2003-01-29 Thread Bruce Douglas
hi...

New to cvs and redhat 8.0. trying to install a cvs server on redhat 8.0
server. I have the following rpms installed:
sendmail-8.12.5-7
sendmail-cf-8.12.5-7
cvs-1.11.2-5

I'd like to be able to configure the server for both password and anonymous
access if possible (but I'll take what I can get!)

I used the following procedure as a guide to install/configure the server:

edited /etc/services to include the line:

==services:cvspserver 2401/tcp # CVS protocol server

edited etc/inetd.conf to include the following lines :

==# Allow CVS to be accessed as server in a client/server relationship
==cvspserver stream tcp nowait root /usr/bin/cvs
cvs -f -l --allow-root=/raid/cvsroot

(I DO NOT HAVE THIS. IT SEEMS THAT I DO HAVE xinetd.conf. I DIDN'T MAKE
THIS CHANGE)

created a new user as cvs
created a new group as cvs

created a repository directory as /root/cvsroot

changed the folder permissions for cvs

ran the following command:
cvs -d /root/cvsroot init [return]

ran the following command:
cvs -d /root/cvsroot checkout CVSROOT [return]


modified the CVSROOT/config file:

# Set this to no if pserver shouldn't check system users/passwords
SystemAuth=no

# Set `PreservePermissions' to `yes' to save file status information
# in the repository.
PreservePermissions=no

# Set `TopLevelAdmin' to `yes' to create a CVS directory at the top
# level of the new working directory when using the `cvs checkout'
# command.
TopLevelAdmin=yes


created /root/CVSROOT/passwd by copying/modifying the /etc/passwd file

== root:x:cvs
== test:x:cvs
== steview:x:cvs


Run the commands

cvs -d /raid/cvsroot add /root/CVSROOT/passwd [return]
cvs -d /raid/cvsroot commit /root/CVSROOT [return]

(the 2nd command returned the following.)
[test@lserver2 test]$ cvs -d /home/cvsroot commit /root/CVSROOT
cvs [commit aborted]: /home/cvsroot/CVSROOT: Permission denied


At this point I realize that I'm lost...

Can anyone point me to documentation that would guide me through the process
of setting up a CVS server on a Redhat 8.0 machine

I've tried to review the cvshome.org docs, but I haven't come across the
right section for actually installing the CVS server I've performed
searches through google, but i've seen different pieces of information

I can't afford to screw this up!!!

Any help/assistance would be greatly appreciated

Thanks

Bruce Douglas
[EMAIL PROTECTED]





___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs