Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WinCVS connectiong to CVS on Red Hat 9.0

Posted on 2003-12-07
6
Medium Priority
?
905 Views
Last Modified: 2013-12-06
I have tried both ssh and passwd file on server , methods to connect....cant figure out whats wrong ?


Right now i did the following :

Created a soft link to /etc/passwd file from CVSROOT folder.

When i try to login to the CVS server from WinCVS i get the following error :

cvs [login aborted]: unrecognized auth response from 192.168.1.103: Usage: cvs [cvs-options] command [command-options-and-arguments]

Can someone tell me why it doesnt work ??
0
Comment
Question by:rahulkothari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9895100
I am not sure if this is for your enviornment but i checked on the net and got this.
-------------------------------------------
1. check your inet.conf file and add this trick in inetd.conf.  
You want something like the following:

cvspserver stream tcp nowait root /usr/bin/env env - /usr/local/bin/cvs -f --allow-root=/usr/cvsroot pserver

(Note that you need "env" twice, rather than "cvs".  Also note that env may or may not be in /usr/bin on RedHat, make sure you've got the right path and permissions).
------------------
0
 
LVL 24

Expert Comment

by:shivsa
ID: 9895140
u might be aware of this site but even look for some help here too.
http://www.cvshome.org/docs/manual/
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 9904701
1. CVS' passwd file has different syntax compared to /etc/passwd
2. error message sounds like a wrong setup of your inetd service for cvs, please post the complete line from indetd.conf (or /etc/xinetd/cvs)
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

by:rahulkothari
ID: 9908235
can u tell me whats the format of the CVS passwd file.....
right now mine looks like this
--------------------
rahul:
kumar:
-------------------

I dont know how to put the encrypted password.
So when i just leave the password field blank...i am able to log in.
I also tried to delete this passwd file and created a ln -s /etc/passwd passwd   inside the CVSROOT , that didnt help....so i created the passwd file given above.
Let me know how to tackle this....
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 2000 total points
ID: 9908298
I'm not up-to-date with CVS, but you got cought by one of its dragons:
  the password file for CVS must be generated by hand, means copy&paste or whatever from /etc/passwd
  the format is:
   username:encrypted-password:groupname

heard that someone manged to use htpasswd to generate CVSROOT/passwd, but this method at least lacks the group name

> .. delete this passwd file and created a ln -s /etc/passwd passwd   inside the CVSROOT ..
reread my very first comment

in CVSROOT/config  you need
  SystemAuth=no

How about readings CVS docs, for example Cedarquist manual?
These are some basics for a funtional CVS server!
0
 

Author Comment

by:rahulkothari
ID: 9920915
alright i got it to work.....
/etc/passwd - had the following format - rahul:x:blah blah blah
so i couldnt use that.....i did a copy paste from /etc/shadow and it worked fine.....

i dont know who deserves the points - rahulkothari or ahoffman ??
any suggestions
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question