Re: CVS Setup Help Needed

2001-06-23 Thread Peter Ajamian

Matt Keyes wrote:
 
 On the same note (but a little OT), how can I cut and paste from vi (I want
 to cut the encrypted password from /etc/passwd and put it in the cvspasswd
 file (whatever its called... I'm not at home so I can't look at it)?

That depends on the interface or client you use to access the server
with.  If you want an easy way to manage the passwd and readers files
though, try cvspwd 2 which can be found at http://www.pajamian.dhs.org

Regards, Peter

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



Re: CVS Setup Help Needed

2001-06-22 Thread Larry Jones

Matt Keyes writes:
 
   I'm running Slackware, I installed the latest CVS, and went through setting
 it up.  I set up the port as per the docs, and configured inetd.conf with
 the following:
 
 cvs -f -allow-root=/cvsroot pserver
 
 /cvsroot is a partition I have that will be dedicated solely to cvs.
 
 However, its not working.  I tried typing cvs-f -allow-root=/cvsroot pserver
 while logged in as root from the console, and it just sits there until I hit
 return or type something and hit return, then spits back the following
 message:
 
 cvs [pserver aborted]: bad auth protocol start: whatever I type before
 hitting return, or blank if I just hit return

That's exactly what it should do.  You're running it in server mode, so
it expects to be talking to a client, not a person at a keyboard.

Have you initialized your repository?  Have you set $CVSROOT?  Does it
work in local mode?  In short, do you have any idea at all what you're
doing, or are you totally lost?  Give us some more hints so we have some
idea what to do to help you.

-Larry Jones

It's not denial.  I'm just very selective about the reality I accept.
-- Calvin

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



RE: CVS Setup Help Needed

2001-06-22 Thread Matt Keyes

Here's more info (and yes, I'm somewhat lost here...):

1. I set $CVSROOT to be /cvsroot
2. I did initialize the repository, so there is a /cvsroot/CVSROOT directory
(with all the subdirectories under it that are created)
3. I haven't tried it in local mode...
4. I've been trying to connect via WinCVS, and I get the message equivalent
to the one if you incorrectly type cvs (or just cvs) at a console prompt
(not the whole usage message, just the first line).  Sorry, I'm at work so I
can't really get the message from here.

Like I said, I'm somewhat lost simply b/c this is the first time I've tried
to setup/use CVS.  Thanks for any help!

Matt

-Original Message-
From: Larry Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 10:36 AM
To: Matt Keyes
Cc: [EMAIL PROTECTED]
Subject: Re: CVS Setup Help Needed

Matt Keyes writes:

   I'm running Slackware, I installed the latest CVS, and went through
setting
 it up.  I set up the port as per the docs, and configured inetd.conf with
 the following:

 cvs -f -allow-root=/cvsroot pserver

 /cvsroot is a partition I have that will be dedicated solely to cvs.

 However, its not working.  I tried typing cvs-f -allow-root=/cvsroot
pserver
 while logged in as root from the console, and it just sits there until I
hit
 return or type something and hit return, then spits back the following
 message:

 cvs [pserver aborted]: bad auth protocol start: whatever I type before
 hitting return, or blank if I just hit return

That's exactly what it should do.  You're running it in server mode, so
it expects to be talking to a client, not a person at a keyboard.

Have you initialized your repository?  Have you set $CVSROOT?  Does it
work in local mode?  In short, do you have any idea at all what you're
doing, or are you totally lost?  Give us some more hints so we have some
idea what to do to help you.

-Larry Jones

It's not denial.  I'm just very selective about the reality I accept.
-- Calvin


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



Re: CVS Setup Help Needed

2001-06-22 Thread Larry Jones

Matt Keyes writes:
 
 1. I set $CVSROOT to be /cvsroot

That's not correct if you want to use pserver.  You should set it to
something like:

:pserver:user@host:/cvsroot

 2. I did initialize the repository, so there is a /cvsroot/CVSROOT directory
 (with all the subdirectories under it that are created)
 3. I haven't tried it in local mode...

Then how did you initialize the repository? :-)

 4. I've been trying to connect via WinCVS, and I get the message equivalent
 to the one if you incorrectly type cvs (or just cvs) at a console prompt
 (not the whole usage message, just the first line).  Sorry, I'm at work so I
 can't really get the message from here.

I suggest getting pserver access working *on the server system* before
trying to get it working remotely; it makes debugging much easier.  For
troubleshooting advice, see the manual:

http://cvshome.org/docs/manual/cvs_21.html#SEC182

If you need more help, show us the exact error message and relavent
line(s) from your inetd or xinetd configuration.

-Larry Jones

Hey!  What's the matter?  Can't you take a joke?!  It was a JOKE! -- Calvin

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



RE: CVS Setup Help Needed

2001-06-22 Thread Matt Keyes

Then how did you initialize the repository? :-)
cvs -d /cvsroot init

I suspect my main problem is with the $CVSROOT.  Does the user in
:pserver:user@host:/cvsroot need to be each username that will access the
system?

My /etc/services:
cvspserver 2401/tcp

My inetd.conf reads this:
cvspserver stream tcp nowait root /usr/local/bin/cvs
cvs -f -allow-root=/cvsroot pserver

Like I said, I suspect that I need to set up the $CVSROOT correctly.

Any more help is appreciated :)!!!  Thanks!

-Original Message-
From: Larry Jones [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 22, 2001 12:47 PM
To: Matt Keyes
Cc: [EMAIL PROTECTED]
Subject: Re: CVS Setup Help Needed

Matt Keyes writes:

 1. I set $CVSROOT to be /cvsroot

That's not correct if you want to use pserver.  You should set it to
something like:

:pserver:user@host:/cvsroot

 2. I did initialize the repository, so there is a /cvsroot/CVSROOT
directory
 (with all the subdirectories under it that are created)
 3. I haven't tried it in local mode...

Then how did you initialize the repository? :-)

 4. I've been trying to connect via WinCVS, and I get the message
equivalent
 to the one if you incorrectly type cvs (or just cvs) at a console prompt
 (not the whole usage message, just the first line).  Sorry, I'm at work so
I
 can't really get the message from here.

I suggest getting pserver access working *on the server system* before
trying to get it working remotely; it makes debugging much easier.  For
troubleshooting advice, see the manual:

http://cvshome.org/docs/manual/cvs_21.html#SEC182

If you need more help, show us the exact error message and relavent
line(s) from your inetd or xinetd configuration.

-Larry Jones

Hey!  What's the matter?  Can't you take a joke?!  It was a JOKE! -- Calvin


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



Re: CVS Setup Help Needed

2001-06-22 Thread Larry Jones

Matt Keyes writes:
 
 Then how did you initialize the repository? :-)
 cvs -d /cvsroot init

Then you used CVS in local mode.  That's why the smiley.

 I suspect my main problem is with the $CVSROOT.  Does the user in
 :pserver:user@host:/cvsroot need to be each username that will access the
 system?

Yes.  (That is, each user sets it with their own username.)

 My /etc/services:
 cvspserver 2401/tcp
 
 My inetd.conf reads this:
 cvspserver stream tcp nowait root /usr/local/bin/cvs
 cvs -f -allow-root=/cvsroot pserver

Those look fine (assuming it's really --allow-root).

-Larry Jones

Good gravy, whose side are you on?! -- Calvin

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



Re: CVS Setup Help Needed

2001-06-22 Thread Schwenk, Jeanie

I need more information to really be able to help but I'll give it a good
shot.

Did you do a cvs init?  

Verify that cvs commands work from the node where cvs is installed?

The inetd.conf doesn't look correct.  Mine looks like this:
cvs stream tcp nowait root /opt/cvs/bin/cvs cvs -f
--allow-root=/export/cvsroot pserver
I initially did not use the -f and I lived to regret it.
Sigh, it took me days to find that type-o. 

Have you set up the /etc/services file?  

See section 2.9.3 in the Cederqvist
(http://cvshome.org/docs/manual/cvs.html) for help with the inetd and
services files.

WINcvs
In WINcvs, you first need it to login successfully before you can do
anything. 
Admin menu pick ... Login

To interact with the repository:
Create menu pick,   General Tab fill is the first text field with
the items in   tailored to your site.
:pserver:user@host:$CVSROOT

for example,  :pserver:jschwenk@pilot:/export/cvsroot

I'm on the digest so feel free to email me directly.

Good luck.

Jeanie

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