Solved

WinCVS connectiong to CVS on Red Hat 9.0

Posted on 2003-12-07
6
864 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
  • 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 

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 500 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
video edge NVR Device Discovery Problem 4 45
File and print server with Ubuntu? 7 43
how can I get powershell to show the history of commands used ? 10 56
Linux VM 6 89
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…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

773 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