Cygwin CVS Login Error - setuid failed: Permission denied
hi, everyone, I am a newbie to the CVS. I encountered an error whiling installing and configuring the CVS under Cygwin. My OS is windows 2003 Server and Logon with my Domain Account: hfrank. I downloaded and installed ALL components being accessible from Cygwin Mirror site. So, I think my Cygwin is a full-functional Cygwin. Then, I do the commands like: (1) mkpasswd -d /etc/passwd, mkgroup -d /etc/group (2) /usr/bin/iu-config -y (3) add the cvspserver tcp/2401 into the WINNT/system32/driver/etc/service add cvspserver stream tcp nowait root /bin/cvs cvs --allow-root=/var/cvs pserver (4) inetd --install-as-service and start the service (5) export CVSROOT=/var/cvs (6) cvs init, and the /var/cvs/CVSROOT/* are created automatically without errors (7) I create the /var/cvs/CVSROOT/passwd file like : Administrators::Administrators hfrank::hfrank cvsuser:7T6EfeWS:hfrank (8) Everything looks well . But , when I try to connect the cvs server with WinCVS, like: pserver:cvsuser:[EMAIL PROTECTED]:/var/cvs login and pserver:hfrank:[EMAIL PROTECTED]:/var/cvs login, the error message setuid failed: Permision denied was returned from the server. pc-230 is the computer name of the Server. But i can login the server from another cygwin environment correctly. I will appreciate any hints and help on this issue. Thanks in advance. P.K Hou ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
CVS login error
I'm trying to find some help about the login command to CVS. Several new things have happened here simultaneously and we are having trouble sorting out why I get an error with login: We got a new Windows 2003 server at the same time I got a new G5, OS X 10.3.5 and upgraded Metrowerk's Code Warrior to its latest version ( 9 ). Our previous server ( Windows 2000 ) had Visual Source Safe(VSS) 6.0.c, for our source control. VSS was just copied from the old server to the new server, and we have been able to still access VSS from our Windows platforms and from MAC OS 9.2 machine which has an old version of Code Warrior that still had interface for login in the setup panel. The new Metrowerks documentation says to login to CVS with -d login command and then Mac projects can access VSS from with the IDE.x-tad-bigger I used the pserver protocol since VSS is on the server. After typing in the cvs -d command, I am prompted for CVS password: When I type in my password I get the following a cvs [login aborted]: connect to maestrolearning.com:2401 failed: Operation timed out. I have also tried using MacCvsX to login and get the same error message. We had another company set up the new server and they are unfamiliar with Macs. Although we are not using CVS for source control, should something have be installed on our new server to enable the 'pserver' protocol for CVS login? Any recommendation for resources to check? I am not having any trouble connecting from the OS X machine to the server directly, or accessing files/folders there. It's just the cvs login error that has me baffled. Thanks. /x-tad-bigger___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: CVS login error
CVS does not talk to VSS. I don't know what you were doing before, but I'm pretty confident that you were not using CVS to talk to a VSS server. More likely you had CodeWarrior configured to use VSS. --Rick GenterPrincipal EngineerSilverlink Communicationsmailto:[EMAIL PROTECTED](781) 272-3080 x242This e-mail, including attachments, may include confidential and/or proprietary information, and may only be used by the person or entity to which it is addressed. If the reader of this e-mail is not the intended recipient or his or her authorized agent, the reader is hereby notified that any dissemination, distribution or copying of this e-mail is prohibited. If you have received this e-mail in error, please notify the sender by replying to this message and delete this e-mail immediately. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joan NordbergSent: Tuesday, February 08, 2005 8:00 AMTo: info-cvs@gnu.orgSubject: CVS login error I'm trying to find some help about the login command to CVS. Several new things have happened here simultaneously and we are having trouble sorting out why I get an error with login: We got a new Windows 2003 server at the same time I got a new G5, OS X 10.3.5 and upgraded Metrowerk's Code Warrior to its latest version ( 9 ). Our previous server ( Windows 2000 ) had Visual Source Safe(VSS) 6.0.c, for our source control. VSS was just copied from the old server to the new server, and we have been able to still access VSS from our Windows platforms and from MAC OS 9.2 machine which has an old version of Code Warrior that still had interface for login in the setup panel. The new Metrowerks documentation says to login to CVS with -d login command and then Mac projects can access VSS from with the IDE.I used the pserver protocol since VSS is on the server. After typing in the cvs -d command, I am prompted for CVS password: When I type in my password I get the following a cvs [login aborted]: connect to maestrolearning.com:2401 failed: Operation timed out. I have also tried using MacCvsX to login and get the same error message. We had another company set up the new server and they are unfamiliar with Macs. Although we are not using CVS for source control, should something have be installed on our new server to enable the 'pserver' protocol for CVS login? Any recommendation for resources to check? I am not having any trouble connecting from the OS X machine to the server directly, or accessing files/folders there. It's just the cvs login error that has me baffled. Thanks. ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: CVS login with system passwords and MD5
Stephen, This page here explains the authentication in much more detail than I can go into here: http://www.cvsnt.org/manual/Remote-repositories.html This documentation is for CVSNT which runs on Linux/Unix/Windows/Mac etc and is the default client for WinCVS and TortoiseCVS. CVSNT is free open source software and can be downloaded from: http://www.cvsnt.com/ Regards, Arthur Barrett Stephen Carville [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to get CVS to authenticate using system passwords on a LInux box that uses MD5 password hashes. According to the documentation, cvs should use systems passwords by default. I have always turned the feature off (SystemAuth=No) but I have need to turn it on for one machine. However, when I set SystemAuth to Yes and remove my entry from the CVSROOT/passwd file, I cannot log in. Is this caused by the use of MD5 instsead of crypt? Am I missing something simple? -- Stephen Carville Unix and Network Adminstrator DPSI 6033 W.Century Blvd. Los Angeles, CA 90045 310-342-3602 ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
CVS login with system passwords and MD5
I am trying to get CVS to authenticate using system passwords on a LInux box that uses MD5 password hashes. According to the documentation, cvs should use systems passwords by default. I have always turned the feature off (SystemAuth=No) but I have need to turn it on for one machine. However, when I set SystemAuth to Yes and remove my entry from the CVSROOT/passwd file, I cannot log in. Is this caused by the use of MD5 instsead of crypt? Am I missing something simple? -- Stephen Carville Unix and Network Adminstrator DPSI 6033 W.Century Blvd. Los Angeles, CA 90045 310-342-3602 ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
RE: CVS Login ERROR...
Title: Message Hi Naren! I think you will have to send me the following information before I can give you any further help: CVS Server: 1. What is the Server OS? (Distribution version details) 2. Which CVS Server package are you using? 3. What all configurations have been carried out? (Creation of the repository, scripts and files created) 4. If Linux, is apache and Samba installed and configured..?? CVS Client: 1. Which client are you using? (GUI or command line Linux or Windows) 2. What is the client version? 3. What are the configurations done on the client? Thanx Gagneet -Original Message-From: Narendhran K [mailto:[EMAIL PROTECTED] Sent: Tuesday, 30 September, 2003 12:48 PMTo: [EMAIL PROTECTED]Subject: RE: CVS Login ERROR... hi I tried with the things u said , but again it is giving the following error cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: Connectionrefused could u help me naremGagneet Singh [EMAIL PROTECTED] wrote: Hi! 2 )cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: No connection could be made because the target machine actively refused it. Could any one help me on this status. This can happen in the case you have not created the cvspserver file on your server. If you are using Red Hat systems after distribution 7.2, then you are required to put this file in the /etc/xinetd.d directory. The format of this file is.. service cvspserver { disable = no id = cvspserver env = HOME=/home/cvs socket_type = stream protocol = tcp port = 2401 wait = no user = root passenv = PATH server = /usr/bin/cvs server_args = -f --allow-root=/cvs/versions pserver } The repository root is denoted by the line: server_args = -f --allow-root=/cvs/versions pserver in the above mentioned file. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Narendhran KSent: Monday, 29 September, 2003 15:50 PMTo: [EMAIL PROTECTED]Subject: CVS Login ERROR... Hi, These are the two types of Errors that i Get when i try to install cvs on a LInux system and then try to run winCVS on the client system. 1 )[EMAIL PROTECTED] CVSROOT]# cvs -d /raid/cvsroot commit /root/CVSROOTcvs [commit aborted]: 'root' is not allowed to commit files 2 )cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: No connection could be made because the target machine actively refused it. Could any one help me on this status. With regardsNaren Do you Yahoo!?The New Yahoo! Shopping - with improved product search ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS Login ERROR...
Hi, These are the two types of Errors that i Get when i try to install cvs on a LInux system and then try to run winCVS on the client system. 1 )[EMAIL PROTECTED] CVSROOT]# cvs -d /raid/cvsroot commit /root/CVSROOTcvs [commit aborted]: 'root' is not allowed to commit files 2 )cvs [login aborted]: connect to 192.168.0.3(192.168.0.3):2401 failed: No connection could be made because the target machine actively refused it. Could any one help me on this status. With regardsNaren Do you Yahoo!? The New Yahoo! Shopping - with improved product search___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS login
I just installed TortoiseCVS in my computer and now trying to checkout from a server. Everytime I do a checkout, this error occurs: cvs95 checkout: Empty password used - try 'cvs login' with a real password Fatal error, aborting. cvs95 [checkout aborted]: AnabellChan: no such user Error, CVS operation failed What do I need to do? Thanks for any help! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login
still problems with cvs login this is the error I get: server:/homedir/user cvs login (Logging in to user@server) CVS password: cvs login: authorization failed: server server rejected access to directory/CVS/ for user user I have added this line to /etc/services: cvspserver 2401/tcp and added this line to /etc/inetd.conf : cvspserver stream tcp nowait root /share/tools/local/bin/cvs cvs -b/share/tools/local/bin -f --allow-root =directory/CVS pserver I restarted inetd did I miss something? The permissions for the directory is set to 770 with me being in the group Tom ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
[EMAIL PROTECTED] writes: server:/homedir/user cvs login (Logging in to user@server) CVS password: cvs login: authorization failed: server server rejected access to directory/CVS/ for user user Note carefully that the directory in the error message ends with a /. cvspserver stream tcp nowait root /share/tools/local/bin/cvs cvs -b/share/tools/local/bin -f --allow-root =directory/CVS pserver Note carefully that the directory in the --allow-root= option does *not* end with a /. Like I said before, the directory in your $CVSROOT must *EXACTLY* match the --allow-root= option on the server. Get rid of the trailing / in your $CVSROOT and it should work (unless there's another problem, too). Also, please do not edit commands to replace actual names with things like server. Had you not left the trailing CVS in the directory name, there's a good chance you would have edited away the trailing slash and made it impossible to diagnose the problem. -Larry Jones Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth? -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
OK a bit more progress here now this message: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied I need to provide a bit more info here maybe. I am a member of 2 groups. when I do an ID I get: uid=624(login) gid=22(group1) groups=299(group2) so my main group is group1 now the permissions on the CVS directory is set up so that it is 770 with the group as group2 do you think that this can be causing the problem? Do I need to newgrp to group2 ? I also tried to chmod 777 the config file as well as CVSROOT to see if I still had this problem but to no avail ... any Ideas ? Tom PS thank you for getting me over the first hurdle [EMAIL PROTECTED] s.com (Larry To: [EMAIL PROTECTED] Jones) cc: [EMAIL PROTECTED] Subject: Re: cvs login 06/20/2003 10:36 AM [EMAIL PROTECTED] writes: server:/homedir/user cvs login (Logging in to user@server) CVS password: cvs login: authorization failed: server server rejected access to directory/CVS/ for user user Note carefully that the directory in the error message ends with a /. cvspserver stream tcp nowait root /share/tools/local/bin/cvs cvs -b/share/tools/local/bin -f --allow-root =directory/CVS pserver Note carefully that the directory in the --allow-root= option does *not* end with a /. Like I said before, the directory in your $CVSROOT must *EXACTLY* match the --allow-root= option on the server. Get rid of the trailing / in your $CVSROOT and it should work (unless there's another problem, too). Also, please do not edit commands to replace actual names with things like server. Had you not left the trailing CVS in the directory name, there's a good chance you would have edited away the trailing slash and made it impossible to diagnose the problem. -Larry Jones Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth? -- Calvin ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
[EMAIL PROTECTED] writes: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied You're running the server from [x]inetd as root, right? If so, that error means that *root* doesn't have permission to access that directory, not you. That in turn implies that your repository is on an NFS-mounted filesystem which is a major mistake: it's just asking for trouble, and you're already getting it. By default, NFS maps root to an ordinary user (typically nobody in the group nogroup) who doesn't have permission to access your repository. It probably wouldn't hurt to give everyone read permission on the CVSROOT directory and its contents, but you're much better off moving your repository to a local disk. -Larry Jones It's no fun to play games with a poor sport. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login
On Sat, 2003-06-21 at 03:09, [EMAIL PROTECTED] wrote: OK a bit more progress here now this message: cvs [login aborted]: unrecognized auth response from machine: cvs pserver: cannot open dir/CVS/CVSROOT/config: Permission denied (for the archives, for the next person with this problem): I talked to him offlist, he doesn't have CVSROOT/passwd set up, and SystemAuth in CVSROOT/config is set to 'no'. I suspect that fixing these will at least get him past another hurdle. Jenn V. -- Do you ever wonder if there's a whole section of geek culture you miss out on by being a geek? - Dancer. My book 'Essential CVS': published by O'Reilly in June 2003. [EMAIL PROTECTED] http://anthill.echidna.id.au/~jenn/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
How does CVS Login Work?
I am moving a directory over from one CVS location to another. The permissions on the new directory are a bit different since it is set to 770 where I am in the group. When I try to co a project it asks me to do a cvs login. When I do cvs login username it gives me cvs login: authorization failed: server servername rejected access to directory for user username but I should have full permissions to this directory. I would like to know a bit more as to how cvs login works ... where does it store its information etc ... Tom ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: How does CVS Login Work?
[EMAIL PROTECTED] writes: cvs login: authorization failed: server servername rejected access to directory for user username That means that either the directory does not exactly match one of the server's --allow-root= options, the username is not a valid user, or the password you used was incorrect. It has nothing whatsoever to do with the permissions on any particular directory. CVS tries to log authorization failures using syslog() using the DAEMON and AUTHPRIV facilities, so check your system logs for more info. -Larry Jones My life needs a rewind/erase button. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: How does CVS Login Work?
WARNING: This E-MAIL is potentially in violation of your disclaimer (I am quoting the disclaimer portion only). The disclaimer is hereby rejected for the purpose of this reply and this e-mail message should be considered open and able to be forwarded to anyone and placed in any archive and used for any purpose. I am CCing your postmaster. You should inform your legal department that your disclaimer has been disclosed to an open e-mail list [EMAIL PROTECTED] [EMAIL PROTECTED] writes: [...a confidential e-mail message to [EMAIL PROTECTED] has been elided from this location of the e-mail. It is not possible for us to answer such a question with the restrictions given by your disclaimer...] Feel free to restate your question after you have ensured removal of the disclaimer. I personally will not answer it until the text of the message and any dialogue that follows its thread is allowed to be freely redistributed to anyone for any purpose. Here is a copy of the offending disclaimer: ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** The above disclaimer information is being ignored for application to itself. You have transmitted your query to an open mailing list and the purpose of the list is to share rather than hoard information. You may NOT prohibit the spread of information posted to this list and it is very possible that your e-mail is now archived on a number of sites that are able to be searched which will violate your confidentiality agreement. There is nothing I can do to help you get those sites to remove your e-mail. If you do not cause that disclaimer to be removed, you will not ever get a response that does not include some kind of complaint like this one. -- Mark PS: The following information was posted recently by Greg A Woods concerning the use of disclaimers such as yours... I share it with you in the spirit of keeping this list open for the exchange of ideas and information. --- concerning disclaimers --- This e-mail puts you on notice that I will not be bound by your confidentiality notice and will feel free to review, disclose, distribute, archive, laugh at, be amused by, poke fun publicly at, and/or publish anything I get in e-mail, either directly or indirectly, and whether intended for me or not, without any further notice. If you don't feel comfortable with that, I suggest that you not send any e-mail, especially not to me or any mailing list I might subscribe to; or at least that you use strong digital encryption to ensure that your e-mail can't be read by anyone other than its intended recipient. There are many ways to do this, including using such things as PGP, Lotus Notes, S/Mime, and many other similar systems. I apologize to you if it was not your decision to add this notice to your e-mail. However, given the number of places that have legalized shrink wrap licenses and the similarity of this license to same, I feel like it is incumbent on me to put you on notice immediately regarding my rejection of your notice. Please forward it to whoever in your legal department or management chain you deem as appropriate. EULA - [ All rights to the preceeding communication are fully retained by the author, the non-exclusive right to read and/or reproduce the preceeding text is hereby licensed to the public, subject to the following conditions: (a) Scope of Use: No person may read the preceeding text without first agreeing to be bound by these conditions. Reading, perusing, scanning or otherwise viewing or percieving the preceeding text whether by visual, auditory, olfactory, gustatory or tactile manner constitutes agreement to these terms. (b) Fair Use of Material: license is granted for fair use of the preceeding material, including but not limited to reproduction in whole or in part, quoted or unquoted, so long at that use does not annoy, offend, irk, distress, disturb, bother, harry or otherwise taunt, tease, belittle, libel, slander, critisize, contradict, dispute, demean or cause to be so the author of the preceeding work. (c) Limitation of No Offense: No person reading or otherwise consuming in any way such as (but not limited to) those methods described in part (a) is permitted to be offended, annoyed, irked, distressed, disturbed, bothered, or harried by the preceeding text. If the preceding text would do so, the license for it's use is pre-emptorily
Re: How does CVS Login Work?
dont you think that you are going a bit overboard with this? 1) I personally do not control the disclaimer that is attached to my email ... 2) I work for a financial institution and I am not really sure which part of this disclaimer you have a problem with ... 3) If I am going to get this annoying email every time I post to the list I will not post to the list any more. Could you suggest where I can get CVS information and where I can lend what I know about CVS to others? 4) Arent you alienating a large group of people who work for large corporations by taking these actions? All I was asking was how CVS login works because I am having a problem with it. Sorry to offend if I have offended. Tom Mark D. Baushke [EMAIL PROTECTED]To: [EMAIL PROTECTED] Sent by: cc: [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] Subject: Re: How does CVS Login Work? 06/19/2003 01:05 PM WARNING: This E-MAIL is potentially in violation of your disclaimer (I am quoting the disclaimer portion only). The disclaimer is hereby rejected for the purpose of this reply and this e-mail message should be considered open and able to be forwarded to anyone and placed in any archive and used for any purpose. I am CCing your postmaster. You should inform your legal department that your disclaimer has been disclosed to an open e-mail list [EMAIL PROTECTED] [EMAIL PROTECTED] writes: [...a confidential e-mail message to [EMAIL PROTECTED] has been elided from this location of the e-mail. It is not possible for us to answer such a question with the restrictions given by your disclaimer...] Feel free to restate your question after you have ensured removal of the disclaimer. I personally will not answer it until the text of the message and any dialogue that follows its thread is allowed to be freely redistributed to anyone for any purpose. Here is a copy of the offending disclaimer: ** The information contained herein is confidential and is intended solely for the addresse(s). It shall not be construed as a recommendation to buy or sell any security. Any unauthorized access, use, reproduction, disclosure or dissemination is prohibited. Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall assume any legal liability or responsibility for any incorrect, misleading or altered information contained herein. ** The above disclaimer information is being ignored for application to itself. You have transmitted your query to an open mailing list and the purpose of the list is to share rather than hoard information. You may NOT prohibit the spread of information posted to this list and it is very possible that your e-mail is now archived on a number of sites that are able to be searched which will violate your confidentiality agreement. There is nothing I can do to help you get those sites to remove your e-mail. If you do not cause that disclaimer to be removed, you will not ever get a response that does not include some kind of complaint like this one. -- Mark PS: The following information was posted recently by Greg A Woods concerning the use of disclaimers such as yours... I share it with you in the spirit of keeping this list open for the exchange of ideas and information. --- concerning disclaimers --- This e-mail puts you on notice that I will not be bound by your confidentiality notice and will feel free to review, disclose, distribute, archive, laugh at, be amused by, poke fun publicly at, and/or publish anything I get in e-mail, either directly or indirectly, and whether intended for me or not, without any further notice. If you don't feel comfortable with that, I suggest that you not send any e-mail, especially not to me or any mailing list I
Re: How does CVS Login Work?
[EMAIL PROTECTED] wrote: dont you think that you are going a bit overboard with this? 1) I personally do not control the disclaimer that is attached to my email ... At the risk of sustaining this thread beyond a reasonable lifespan, I would point out that no disclaimer was added to your response, which eludes to an element of control, perhaps implicit. I'll leave it to the archives for the proof, so I don't burn more bandwidth on this topic than is reasonable. -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
i fix it changing only_from = localhost line to only_from = 127.0.0.1 in /etc/xinetd.conf. Thanks Larry :). El Lunes, 17 de Marzo de 2003 00:48, Manolo escribió: El Domingo, 16 de Marzo de 2003 18:08, escribió: Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvi 1)iptables -F 2)and add ALL:ALL in hosts.allow restart and xinetd Now : cvs -t -d :pserver:[EMAIL PROTECTED]:/home/cvsroot login - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvsroot Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvsroot CVS password: - Connecting to localhost(127.0.0.1):2401 ---wait forever--- and telnet localhost 2401 Trying 127.0.0.1... wait forever--- /var/log/cvspserver,/var/log/syslog --don't show anything then i run xinetd -d -- don't show anything netstat -tap return tcp 0 0 *:cvspserver *:* LISTEN 12194/xinetd tcp 0 1 localhost.localdom:2196 localhost.lo:cvspserver SYN_SENT 107/cvs how can know what happend? ___ Yahoo! Messenger - Nueva versin GRATIS Super Webcam, voz, caritas animadas, y ms... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs [login aborted]: reading from server: Connection reset by peer
When i try cvs -t -d :pserver:[EMAIL PROTECTED]:/home/cvsroot login get - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvsroot Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvsroot CVS password: - Connecting to localhost(127.0.0.1):2401 cvs [login aborted]: reading from server: Connection reset by peer - Lock_Cleanup() Information: 0)emerge cvs 1)/etc/xinet.d/cvspserver service cvspserver { disable = no socket_type = stream wait= no user= root group = cvs log_type= FILE /var/log/cvspserver protocol= tcp env = '$HOME=/home/cvsroot' log_on_failure += USERID port= 2401 server = /usr/bin/cvs server_args = -f --allow-root=/home/cvsroot pserver } 2)cvs -d /home/cvsroot init 3)groupadd cvs 4)edit /etc/group and add mmm876 and root to cvs group 4)chgrp -R cvs /home/cvsroot 5)chmod -R 770 /home/cvsroot 6)add to /home/cvsroot/CVSROOT/passwd line mmm876:fsdfsdffsd-- i generated password using [ http://www.flash.net/cgi-bin/pw.pl ] util. 7)/etc/init.d/xinetd restart 8)netstat -tap Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 0.0.0.0:24010.0.0.0:* LISTEN 28581/xinetd 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. What is wrong? how can fix it? Thanks in advance. ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: reading from server: Connection reset bypeer
El Domingo, 16 de Marzo de 2003 18:08, escribió: Manolo writes: 9)i try telnet localhost 2401 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. this result tell me xinetd permit localhost:2401 connections. It accepted the connection, but the connection was then immediatly closed, which implies that the CVS server wasn't run. Most likely you either have the path to CVS wrong in your xinetd.conf or you have some kind of firewall software (like tcp wrappers) that's denying access. Check your syslog for error messages from xinetd. -Larry Jones The living dead don't NEED to solve word problems. -- Calvi 1)iptables -F 2)and add ALL:ALL in hosts.allow restart and xinetd Now : cvs -t -d :pserver:[EMAIL PROTECTED]:/home/cvsroot login - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvsroot Logging in to :pserver:[EMAIL PROTECTED]:2401/home/cvsroot CVS password: - Connecting to localhost(127.0.0.1):2401 ---wait forever--- and telnet localhost 2401 Trying 127.0.0.1... wait forever--- /var/log/cvspserver,/var/log/syslog --don't show anything then i run xinetd -d -- don't show anything netstat -tap return tcp 0 0 *:cvspserver *:* LISTEN 12194/xinetd tcp 0 1 localhost.localdom:2196 localhost.lo:cvspserver SYN_SENT107/cvs how can know what happend? ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animadas, y más... http://messenger.yahoo.es ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs [login aborted]: problem
Title: Message Hi, I have CVS Server in Solaris System. I would like to CVS client in Windows 2000 using WinCVS. I have given the preference as :pserver:pushpa@servername:/home/cvsroot. when I login its giving the following problem. "cvs [login aborted]: recv() from server 10.145.3.243: EOF" But I am able to telnet to that server from the windows machine. Can any one help me in this. Thanks in advance Regards Pushpa **Disclaimer** Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited.
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: I checked the syslog , for messages from inetd.conf particularly for CVS , You want to check for messages from CVS itself, not inetd. Why is it giving this error. And why does winCVS or any other client show the error as cvs login cvs [login aborted]: authorization failed: server 66.125.19.74 rejected access to /usr/local/cvsrepository for user cvsusergroup. When this happens, the server should log a message under the DAEMON facility that says either login refused for repository (which indicates that the specified repository isn't valid) or login failure (for repository) (which indicates that either the username or passwordisn't valid). In the later case, if your system has an AUTHPRIV facility, it will also log a message there containing the username and password. Since it looks like the specified repository exactly matches the --allow-root= option in inetd.conf, I'd say either the username or password isn't right: are you using a $CVSROOT/CVSROOT/passwd file or system authorization? -Larry Jones I'm crying because out there he's gone, but he's not gone inside me. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: I had tried both the options , I added a user ( group called cvsusergroup) and added few existing Unix users (myself,sysadmin ) to this group. I defined cvsusergroup user's home directory as cvsrepository. Also made that user as owner of that group. Gave --rwe-- permissions to the repository. Try su'ing to cvsusergroup and running CVS in local mode to be sure that works; do something innocuous like checking out CVSROOT. That way you'll know the permisions aren't screwing things up. I also have a CVS admin GUI page from where I can add cvs users. I added few cvs users and defined them to access the files as cvsusergroup ... This added the following lines to $CVSROOT/cvsroort/passwd file Ibrahim:password:cvsusergroup cvsusergroup:password:cvsusergroup. Those are encrypted passwords, not plain text passwords, right? I am really going crazy with this error. What is the cvspserver/tcp: bind: Address already in use error? Note that that's a inetd message and has nothing to do with your login problem. Most likely it means that you restated inetd very shortly after killing it so that the system still had the existing sockets around to handle any late packets from remote systems. Since inetd seems to be working fine, it must have dealt with the errors appropriately. How do we define cvspserver to authenticate the users againt the users in the passwd file or against the system users? That's SystemAuth in the $CVSROOT/CVSROOT/config file -- it defaults to yes, which means CVS uses both the system passwd file and its own passwd file. -Larry Jones I think if Santa is going to judge my behavior over the last year, I ought to be entitled to legal representation. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: What is the invalid argument error. Is the argument I passed for cvspserver in inetd.conf , wrong? No, it's some kind of internal error in inetd -- it's not the cause of your problem. Again, you need to look for messages from CVS itself, not messages from inetd. And check to see if your system has an AUTH_PRIV facility -- if so, the log messages for it usually go to a special log file that only root can read since they contain security-related information. That's where the good log messages go. -Larry Jones It's either spectacular, unbelievable success, or crushing, hopeless defeat! There is no middle ground! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN ERROR
Ibrahim Shaik writes: Now the main problem I am facing is , when ever I try to connect using jCVS , it says I HATE YOU . It is not authenticating any user . Check your syslog for the DAEMON facility for messages from CVS. They'll give you more information about what the actual problem is. -Larry Jones Archaeologists have the most mind-numbing job on the planet. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Problem with CVS login after reboot
Hi all, I've rebooted the cvs server and when a user tries to login to some of the directories he is getting the following error: $ cvs status cvsfolder/ cvs status: authorization failed: server ,server namerejected access to /usr/local/cvsrepos/ for user username cvs status: used empty password; try cvs login with a real password $ cvs login (Logging in to cvsserver) CVS password: cvs login: authorization failed: server servername rejected access to /usr/local/cvsrepos/ for user username Can any of you cvs gurus guide me in this issue as I'm a novice with CVS. -regards, Peram _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Problem with CVS login after reboot
Sudhaker P writes: $ cvs status cvsfolder/ cvs status: authorization failed: server ,server namerejected access to /usr/local/cvsrepos/ for user username The trailing / on the repository may well be to blame -- the user's CVSROOT must *exactly* match one of the server's --allow-root arguments. -Larry Jones Well, it's all a question of perspective. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
[OT] Example for Perlwrapper around cvs login?
Sorry, may be a little bit offtopic... Does someone have example perl script to wrap cvs login via open2/3 and IO::Select? I am not able to get my one working. Thanks... Oliver ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: [OT] Example for Perlwrapper around cvs login?
On Thu, 2 May 2002, Oliver Fischer wrote: Sorry, may be a little bit offtopic... Does someone have example perl script to wrap cvs login via open2/3 and IO::Select? I am not able to get my one working. Thanks... Yes. Here's one I use in a SOAP-based distributed build system. I've expressed the routine and the stuff it calls as shell 'here' documents just because I'm feeling geeky today. My code is OO and passes in a target object whose fields contain the info needed to access the repository. You can easily change this to pass in the stuff as string scalars instead. To use: require cvsLogin.pl; require services.pl; _cvsLogin( $target ); cat cvsLogin.pl EOF; sub _cvsLogin { # # this routine expects to receive a SOAPMaker::Target object. # info needed to build the cvs command is retrieved from the target object. # my $target = shift; my $workDir = $target-workdir(); my $repository= $target-repository(); my $cmd = export CVS_PASSFILE=$workDir/.cvspass; cvs -d $repository login; my @input = ( $target-userpw() ); my ($i,$j) = logTick( $cmd, $target-buildlog(), \@input, 0); } EOF cat services.pl EOF; =head1 NAME services.pl =head1 SYNOPSIS logTick( command, $outputArrayRef, [ $inputArrayRef ] ); =head1 REQUIRES IPC::Open3, IO::Select =head1 DESCRIPTION This library provides a wrapper for executing native commands and capturing their output. =over 4 =item ($returnCode,$signal)=logTick(command, \@output, \@input); This routine expects a string containing a command to be executed, and a reference to an ARRAY to which the command's stdout and stderr will be appended. Optionally, any necessary input can be provided by passing a additional ARRAY reference containing the input. If an input array is provided, the $command string is pushed onto the @output array to simulate a command prompt. The entire content of the input array is printed to the command's STDIN before any output is retrieved. (This routine isn't intended to be a true interactive commincator to a long-running child-process.) =cut use IPC::Open3; use IO::Select; sub logTick { my $cmd = shift; my $output = shift; my $input = shift; my $logWarnings = shift || 0; my @foo = (); my $pid; # # if the user has input, then we need to use open3 and handle stdout # ourselves. # if ( ref $input ) { push(@$output,\n\$$cmd\n); eval { $pid = open3(\*KIDSTDIN, \*KIDSTDOUT, \*KIDSTDERR, $cmd ) || die; }; if ($@) { if ($@ =~ /^open\d/) { warn open failed: $!\n$@\n; return ($?,0); } warn(Open3 returned: $!\n$@\n); return ($?,0); } my $selector = IO::Select-new(); $selector-add(*KIDSTDOUT,*KIDSTDERR); print KIDSTDIN join(\n, @$input ), \n; push(@$output, getsome( $selector, 0.25 ) ); $selector-remove(*KIDSTDOUT,*KIDSTDERR); close(KIDSTDIN); close(KIDSTDOUT); close(KIDSTDERR); waitpid($pid,0); my $ierr = $? 8; my $isig = $? 255; my $msg = Execution Summary:\n\tCmd=$cmd\n\tRC=$ierr\n\tSignal=$isig\n; push(@$output,$msg); if ( $ierr != 0 ) { warn($msg) if $logWarnings; } return ($ierr,$isig); # # no input provided, do it the easy way, with backticks. # } else { push(@$output,\n\$$cmd\n); @foo = `( $cmd )21`; push(@$output,@foo); my $ierr = $? 8; my $isig = $? 255; my $msg = Execution Summary:\n\tCmd=$cmd\n\tRC=$ierr\n\tSignal=$isig\n; push(@$output,$msg); if ( $ierr != 0 ) { warn($msg) if $logWarnings; } return ($ierr,$isig); } } sub getsome { my ($selector)=shift; my ($wait)=shift || 0.5; my $output = ; my @output = (); my @temp = (); my @ready = (); my $len = 0; my $buf = 0; #warn(Getsome checking selector.); while ( @ready = $selector-can_read( $wait )) { #warn( Getsome has . (scalar @ready ) . file handles with waiting data ); foreach my $fh (@ready) { #if (fileno($fh) == fileno(KIDSTDOUT) ) { #$output = scalar KIDSTDOUT; #warn(calling sysread...); #$len = sysread( KIDSTDOUT, $buf, 2048, 0 ); $len = sysread( $fh, $buf, 2048, 0 ); #warn( GOT $len bytes: , $buf ); $output .= $buf ; # } if ( $len == 0 ) { #warn( EOF on filehandle detected, removed from selector ); $selector-remove($fh); } } } @temp = split(/\n/,$output); foreach (@temp) { push(@output,$_ . \n); } # push(@output, split(/\n/,$output )); #warn(Getsome exiting); return @output ; } 1; =back =head1 AUTHOR Joi Ellis =head1 BUGS Undoubtedly. =head1 REPORTING BUGS Send Email to Joi Ellis Elt[EMAIL PROTECTED]gt. =head1 COPYRIGHT Copyright #169; Aravox Technologies, Inc. =head1 SEE ALSO see-also links goes here EOF -- Joi EllisSoftware Engineer Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED] No matter what we think of Linux versus FreeBSD, etc., the one thing
Re: password on command line of cvs login, How to ?
On Wed, 17 Apr 2002, Joi Ellis wrote: On Wed, 17 Apr 2002, Shailesh Garg wrote: I am preparing a batch file. Any suggestion? I have a perl routine that does it using IPC::Open3 and IO::Select. It launches cvs as a child process and sends the password to the child's stdin. hmmm The 'expect' package came to mind as well. I use that to connect to access servers which require provision of a password. -- Russ Herrold ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS login from perl script
Hi everybody, I'm new to perl and CVS, and I'm trying to login from a perl script to a CVS server using $pid = open(CVS, |cvs login) or die Couldn't fork: $!\n; print CVS password; I found the previous lines in a post to info-cvs, but I'm not able to make them work Can anyone help me? thank you Stefano ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login
I'm using wincvs on the client. I have setup preferences properly. I am getting authorization failed when attempting to login. I have setup a passwd file in CVSROOT directory. How can I get it to use the /etc/passwd file or what am I missing? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: cvs login
If you specify pserver as the protocol in your CVSROOT definition, the server side of CVS will take username and passwords from your /etc/passwd file; a user not found in /etc/passwd with an entry in CVS password file will be accepted as well, given that the passwords match of course. See http://cvsbook.red-bean.com/cvsbook.html#The_Password-Authenticating_Server. Karl-Koenig Koenigsson --- Beware of the quantum duck. Quark! Quark! Quark! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of M Mason Sent: Monday, March 25, 2002 10:57 AM To: [EMAIL PROTECTED] Subject: cvs login I'm using wincvs on the client. I have setup preferences properly. I am getting authorization failed when attempting to login. I have setup a passwd file in CVSROOT directory. How can I get it to use the /etc/passwd file or what am I missing? ___ 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
Re: cvs login
Karl-Koenig Koenigsson writes: If you specify pserver as the protocol in your CVSROOT definition, the server side of CVS will take username and passwords from your /etc/passwd file; a user not found in /etc/passwd with an entry in CVS password file will be accepted as well, given that the passwords match of course. Almost -- CVS actually looks at the CVS password file first; it only looks at the system password file if there's no entry in the CVS password file *and* SystemAuth=yes is specified in CVSROOT/config (which it is by default). -Larry Jones Nobody knows how to pamper like a Mom. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: [WINCVS 1.2]cvs login
I had the same problem, although I'm using the .rhosts method. There is a file on your client machine named Root in the CVS dir under the dir you are using as working dir. Press F2 (in wincvs) and an explorer window will pop up, pointing to the CVS dir. The file Root has the path to the repository, in my case: davec@pmdbdev:/home/ipmdsbat/cvsroot davec is the user on the pmdbddev machine wherein the repo resides, and is the name that gets pasted into the file $Log$, which is what, I presume, you want. --@@ ~ DavidC The Biggest Game In Town - http://www.wces.org/html_files/burien.html Finally, America will begin to see the staggering wealth our own city, county, state, and federal governments hold in secret accounts. If these hidden assets - that the AMERICAN PEOPLE own - can be liberated from government agencies, we can see a virtual end to property and income tax. Sound impossible? Then you haven't heard Walter Burien exposing the Comprehensive Annual Financial Report (CAFR) scam. -Original Message- From: Guillaume Denry [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 17, 2002 6:40 AM To: [EMAIL PROTECTED] Subject: [WINCVS 1.2]cvs login When i make a cvs login with the GUI, I have *always* name1 as login, but my CVSROOT defined in admin, preferences is :pserver:name2@... name1 was the first login I entered when I had installed wincvs but it's impossible to me to delete it... and wincvs uses it to login. help me please ___ 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
[WINCVS 1.2]cvs login
When i make a cvs login with the GUI, I have *always* name1 as login, but my CVSROOT defined in admin, preferences is :pserver:name2@... name1 was the first login I entered when I had installed wincvs but it's impossible to me to delete it... and wincvs uses it to login. help me please ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS login time
We're developing a java application to store and get files into a cvs server. We do this using the cvs comunication protocol. The application works good, but we have serious speed problem because every time we login into the cvs-server the it waits about 2.2 seconds to authorize the user. Does anyone know how to decrease this dead time? INFO: At the moment the cvs-server is running on a W2000 server, but in a few weeks we will start testing on lynux. The server is 1.11.1.2 - Build 41 for NT This is how we log: 14:28:07.166 [main] - C: BEGIN AUTH REQUEST 14:28:07.166 [main] - C: d:/cvs2 14:28:07.176 [main] - C: admin 14:28:07.196 [main] - C: Aye%?= 14:28:07.196 [main] - C: END AUTH REQUEST 14:28:09.469 [main] - S: I LOVE YOU Thanks Valerio ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS login time
jazzvale writes: The application works good, but we have serious speed problem because every time we login into the cvs-server the it waits about 2.2 seconds to authorize the user. Does anyone know how to decrease this dead time? You'd have to profile the server to find out what's taking so long. My suggestion would be to do more work per login so you don't have to login so much. -Larry Jones Mom must've put my cape in the wrong drawer. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: connect to 216.254.34.156:2401 failed: Connection timed out
You seems to have the same problem as me. The firewall systematically block the ports he knows nothing about. Usually they know ftp, web, telnet, ssh, https but cvs is not on the list. Unfortunately, asking your system administrator to open the port seems to be the only solution. And i know this is very difficult. In my case, nobody seems to be able to tell me who the hell is the firewall administrator. So i can't CVS from school Hope this will disespair you, David Delbecq ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: connect to 216.254.34.156:2401 failed: Connection timed out
Matt Burba writes: I am a newbie to cvs and I am having problems logging in as a client from my work machine (WinNT). The server I am logging into is running Linux and I have no trouble connecting from home (using WinCVS or Forte For Java's built in client). I am DEFINITELY behind a firewall at work that I have no control over. I can telnet to the ip address (port 23?) and connect via ftp (port 21?). You need to get the firewall administrator to allow outgoing connections to port 2401 (presuming you want to use pserver to connect). If your filewall already allows RSH (unlikely) or SSH (quite possibly) connections, you can use one of them with the :ext: connection method instead of using pserver. -Larry Jones He's just jealous because I accomplish so much more than he does. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: problems with cvs login
Michael P. Soulier writes: There's nothing wrong with the permissions in my home directory. If I do a touch $HOME/.cvspass, the problem goes away. Does cvs not create this file as needed? That's a bug in 1.11.1p1 -- it's been fixed in the development version for quite a while. -Larry Jones In short, open revolt and exile is the only hope for change? -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Kindly help me with CVS-login problem
Zou Bin writes [using very long lines]: I am using CVS1.11.1p1 and WinCVS1.2. When I try to connect to my cvspserver, WintCVS tell me: /usr/local/cvsroot: no such repository cvs login: authorization failed: server 192.168.100.131 rejected access to /usr/local/cvsroot for user root That indicates that there's no --allow-root=/usr/local/cvsroot global option in the command to start the server. And I'll note in passing that you don't want to use CVS as root -- there are too many potential security problems, you lose the ability to trace changes to a particular person if root is a shared account (as it usually is), and CVS won't allow root to commit changes by default for precisely that reason. -Larry Jones Well of course the zipper's going to get stuck if everyone stands around WATCHING me! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Kindly help me with CVS-login problem
Hello I am using CVS1.11.1p1 and WinCVS1.2. When I try to connect to my cvspserver, WintCVS tell me: /usr/local/cvsroot: no such repository cvs login: authorization failed: server 192.168.100.131 rejected access to /usr/local/cvsroot for user root My pserver is located and available from within our office. The server runs on RedHat 7.1. When I set up a repository under /tmp/cvsroot directory, CVS and WinCVS can work well. When I build up a repository under the directory /usr/local/cvsroot, CVS can locally do checkout, update, everything, while try to connect to the same server, using WinCVS, WinCVS just pops up the error message above. Note that the only difference of /tmp/cvsroot from /usr/local/cvsroot is that the former is owned by a user other than the root user while the latter is owned by root. I have tried to change the file /etc/group and the permission of /usr/local/cvsroot(using chmod 777 /usr/local/cvsroot), but it is still not working. I have searched through many tons of CVS-related documents and FAQ's. I could not just find any clue with with this error. Kindly help me with this! Thank you in advance, Zou Bin eBridgeX.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login ...please do answer !!!
Hi, I am not able to tag files from inside ant while it does absolutely fine from outside it It says that it was not able to authenticate/authorize.. Does anyone have anyt idea why this would be happening? REgards, Viraj Purang From: [EMAIL PROTECTED] (Greg A. Woods) Reply-To: [EMAIL PROTECTED] (CVS-II Discussion Mailing List) To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: Accessing the same working directory from UNIX ans Windows Date: Tue, 3 Jul 2001 12:56:19 -0400 (EDT) [ On Tuesday, July 3, 2001 at 15:41:38 (+0200), [EMAIL PROTECTED] wrote: ] Subject: Accessing the same working directory from UNIX ans Windows i have a small problem with Accessing the local working directory. I've set up a CVS-pserver without any problems. We can access it both, from Windows (using WinCVS) and from Solaris (using the command-line version). Now a checkout a module with WinCVS 1.2 on Win NT 4.0, which has the local working directory mounted on a Samba-server running Solaris. I now need to access this working directory from the Solaris-Server, but I can't, because I cannot do a cvs login. If I were you I would: - Do the checkout from the solaris box. - Access the working directory on the M$ boxes only to do builds. - Do all edits, etc., ONLY on the Solaris side (unless you can guarantee that none of the M$ tools you will use will mess with normal unix line separators) -- Greg A. Woods +1 416 218-0098 VE3TCP [EMAIL PROTECTED] [EMAIL PROTECTED] Planix, Inc. [EMAIL PROTECTED]; Secrets of the Weird [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS Login
Can someone tell me why CVS doesn't check my CVSROOT/password file for authentication. It just uses the system password. For instance, I have passwordX for system and PasswordY for CVS and when I try to login to CVS using passwordY, it rejects it, only accepting passwordX. Thank you __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS Login
Bekaye Keita writes: Can someone tell me why CVS doesn't check my CVSROOT/password file for authentication. Well, it might be because the CVS-specific password file is CVSROOT/passwd, not CVSROOT/password. -Larry Jones I think we need to change the rules. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login problem from wincvs
dear sir, the problem solved. i selected proper proxy server options in wincvs. thankyou, Bhavani. Bhavani Prasad Polimetla wrote: dear sir, cvs login (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: proxy server 192.32.10.199:2401 does not support http tunnelling *CVS exited normally with code 1* this error coming in wincvs. I am logging in linux successfully. how can i solve the above problem. thankyou, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
is cvs login compulsary?
is it possible to checkout the files from cvs with out using cvs login? regards, Bhavani. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: is cvs login compulsary?
There are situations where you don't have to do a cvs login. Namely if you are not using cvs remotely. So we need a little more information to fully help you. Whats your CVSROOT? donald On Fri, May 25, 2001 at 12:48:53PM +0530, Bhavaniprasad Polimetla wrote: is it possible to checkout the files from cvs with out using cvs login? regards, Bhavani. ___ 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
Re: is cvs login compulsary?
dear sir, my cvsroot is /cvs/CVSROOT/CVSROOT it is not asking for login. what may be the problem? regards, Bhavani. Donald Sharp wrote: There are situations where you don't have to do a cvs login. Namely if you are not using cvs remotely. So we need a little more information to fully help you. Whats your CVSROOT? donald On Fri, May 25, 2001 at 12:48:53PM +0530, Bhavaniprasad Polimetla wrote: is it possible to checkout the files from cvs with out using cvs login? regards, Bhavani. ___ 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
Re: is cvs login compulsary?
There is no problem. cvs only asks for a login if you are doing remote cvs. If you are locally connecting than there is nothing to login to. donald On Fri, May 25, 2001 at 04:18:12PM +0530, Bhavaniprasad Polimetla wrote: dear sir, my cvsroot is /cvs/CVSROOT/CVSROOT it is not asking for login. what may be the problem? regards, Bhavani. Donald Sharp wrote: There are situations where you don't have to do a cvs login. Namely if you are not using cvs remotely. So we need a little more information to fully help you. Whats your CVSROOT? donald On Fri, May 25, 2001 at 12:48:53PM +0530, Bhavaniprasad Polimetla wrote: is it possible to checkout the files from cvs with out using cvs login? regards, Bhavani. ___ 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
Re: CVS LOGIN
Christian Robottom Reis writes: you could also use the new password syntax that pserver offers now What new password syntax?!? -Larry Jones My C- firmly establishes me on the cutting edge of the avant-garde. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
On Thu, 17 May 2001, Larry Jones wrote: Christian Robottom Reis writes: you could also use the new password syntax that pserver offers now What new password syntax?!? Well, from http://www.cvshome.org/dev/NEWS-1.11.1p1.txt * A password and a port number may now be specified in CVSROOT for pserver connections. The new format is: :pserver:[[user][:password]@]host[:[port]]/path Am I mistaken? Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
On Wed, 16 May 2001, G. Shi wrote: However, it seems that cvs login is interactive. Is there any way to include login, update logout in a script? You could use expect(1) to automate that, and you could also use the new password syntax that pserver offers now -- I believe only 1.11 has it, however. Take care, -- /\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil ~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS LOGIN
Christian Robottom Reis [EMAIL PROTECTED] writes: On Wed, 16 May 2001, G. Shi wrote: However, it seems that cvs login is interactive. Is there any way to include login, update logout in a script? You could use expect(1) to automate that, and you could also use the new password syntax that pserver offers now -- I believe only 1.11 has it, however. Or just never logout. The only state from a cvs login command that makes you logged in is an encrypted form of your password stored in the .cvspass file in your home directory, and although I haven't looked, I'm guessing that all cvs logout does is to erase the appropriate line from that file. Just do cvs login once, then never do it again - then your script can do the update and nothing else. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS login
Ihave installed the CVS and created a new repository. I have also installed RCS and copied the binary files in to CVS and tried to access the repository using pserver method. I am getting the following error. cvs -L - d :pserver:nas4@localhost:/opt/local/home/CVSPatch/ReposPatch login (Logging in to nas4@localhost) CVS password: cvs [login aborted]: unrecognized auth response from localhost: Usage: cvs [cvs-options] command [command-options-and-arguments] Please suggest me if have any idea about this. I guess I missed some RCS stuff. Thanks, MM. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS login
[EMAIL PROTECTED] writes: cvs [login aborted]: unrecognized auth response from localhost: Usage: cvs [cvs-options] command [command-options-and-arguments] Your CVS server is misconfigured. You get that usage message when you type "cvs" with no following subcommand, so you most likely left the "pserver" off the end of the inetd.conf line. -Larry Jones Some people just don't have inquisitive minds. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs [login aborted] ... EOF
Hi, I keep getting the error message shown below when I login to my CVSperver (Redhat 7.0) cvs [login aborted]: received broken pipe signal and on another machine I get cvs [login aborted]: recv() from server 192.168.0.1 :EOF I would appreciate if you can help me fix it. regards simha S/MIME Cryptographic Signature
Re: cvs [login aborted] ... EOF
Narasimha Kumar writes: cvs [login aborted]: received broken pipe signal There's something wrong with your inetd.conf -- inetd is listening for connections, but is unable to start CVS. Check it carefully, particularly the path to CVS, and check your syslog for error messages. -Larry Jones I don't need to improve! Everyone ELSE does! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
FW: CVS login problem
I am having problems logging into our CVS server. When I start CVS, it seems OK; I can log in as myself. However, when I try to do something like update a folder, commit and suchlike, the following error is reported: "cvs update: authorization failed: server cvs rejected access to /cvs/dev for user sam cvs update: used empty password; try "cvs login" with a real password" If I then try to login again, it attempts to log me in as one of my colleagues ('sam'). I cannot figure out why it thinks I am someone else. My .cvspass file is present and correct and doesn't even include my colleague's user details. I suspect the problem is server side, as upgrading from 1.0.6 to 1.1b17 has had no effect. Thanks in advance, Paul Guz Developer e-mail: [EMAIL PROTECTED] http://www.tornadogroup.com - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Internet communications are not secure and therefore Tornado Group PLC does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of Tornado Group PLC unless otherwise specifically stated. This Email originates from Tornado Group PLC or one of it's subsidiaries. Company Registration number: 3901656 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login
i am trying to get cvs going on a linux box. ive created a repository and set up everything as specified in the book: open src devp with cvs... im getting the following error when i try to login: c:\cvs -d :pserver:ryan@ipaddressoflinuxbox:/usr/local/cvs login (Logging in to ryan@ipaddressoflinuxbox) CVS password: * Unknown host ipaddressoflinuxbox. anything obviously wrong? im obviously not a unix guru or even a conversant unix programmer so im only following directions in the book thanks for any help. ryan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login
i am trying to get cvs going on a linux box. ive created a repository and set up everything as specified in the book: open src devp with cvs... im getting the following error when i try to login: c:\cvs -d :pserver:ryan@ipaddressoflinuxbox:/usr/local/cvs login (Logging in to ryan@ipaddressoflinuxbox) CVS password: * Unknown host ipaddressoflinuxbox. anything obviously wrong? im obviously not a unix guru or even a conversant unix programmer so im only following directions in the book thanks for any help. ryan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: recv() from server cvs: EOF
Found this on mail-archive.com: http://www.mail-archive.com/info-cvs@gnu.org/msg02526.html . If the first mail doesn't help, try following the thread links at the bottom of the page. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- There is not a truth on earth which I fear or would disguise. But secret slanders cannot be disarmed, because they are secret. - Thomas Jefferson to William Duane, 1806 Sandra Wittenbrock wrote: Hi, Suddenly, I am having trouble connecting to cvs from my computer. From other computers, I can connect. My computer is running Solaris. I have CVSROOT and CVSHOME set. The error is: plato: cvs login (Logging in to loginname@cvsserver) CVS password: cvs [login aborted]: recv() from server cvs: EOF I checked the archives, and saw a couple questions about the same problem, but no answers. Any ideas? Thanks, Sandra ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs [login aborted]: recv() from server cvs: EOF
Hi, Suddenly, I am having trouble connecting to cvs from my computer. From other computers, I can connect. My computer is running Solaris. I have CVSROOT and CVSHOME set. The error is: plato: cvs login (Logging in to loginname@cvsserver) CVS password: cvs [login aborted]: recv() from server cvs: EOF I checked the archives, and saw a couple questions about the same problem, but no answers. Any ideas? Thanks, Sandra ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
(Oops. Thought I had sent this off days ago... Sorry.) Some interesting news, below. Good but puzzling. On 18 Oct, Derek R. Price wrote: [EMAIL PROTECTED] wrote: I did a strings on the Windows cvs.exe and on /usr/bin/cvs on Linux, and both have CVS_CLIENT_LOG, so I assume the facility works similarly as in the source to cvs 1.10.8 that I have handy: it just opens $CVS_CLIENT_LOG.in and $CVS_CLIENT_LOG.out and writes in there. No, that's about it. I'm not sure what shell you are using, but in Bourne, Bash, and Korn, you need to export environment variables for a child process to see them: Sure. That's why I said I "exported" CVS_CLIENT_LOG. Whoops. Just checked myself and CVS doesn't start writing to the client log until after authentication, probably for the obvious reasons, but it does work under both Linux Windows in 1.11. So wouldn't get any debug for the part that's going wrong, anyway. Anyway, I'd say your options are compiling a debug version under Windows and attempting to trace the failed attempt or figure out what the difference between your Windows Linux CVSROOT specs are, since the Linux version worked. I'll admit that it seems difficult to see how to setup the cvs server to be run from gdb. Hmm, maybe I could attach to it once it was running... Is LOGNAME set differently on the two machines? No. Try a CVSROOT with no variables in it. CVS shouldn't be filling anything into CVSROOT on either platform, so if the problem lies there you should be able to fix it on the command line. I think that's a small red herring. I tried without a CVSROOT, using the -d option, with the same result. Also, try again to make sure that handy's IP address is the same regardless of which machine you look it up on. Handy is defunct; "mantovani" is the stand-in. There is an amd entry so that /home/handy is the same as /home/mantovani. But our network is solid and clean, and I'd be flabbergasted if mantovani's IP address changed while the machine was running (the IP addresses are assigned dynamically from a server). And now for the good but puzzling news. It's now working. Now, keep in mind that this all used to work when Handy was alive; and failed when Mantovani replaced it. Both were running the same version of Linux with the same versions of the same utilities installed. Also involved is an old version of ssh compiled for Windows. The problem only occurs if we don't explicitly specify the login id when we make the ssh connection from the Windows box to the Linux CVS server. The ssh login succeeds, but when we later try to cvs login, the cvs server on the Linux box rejects the login with the message "authentication failure". The mechanism works like this - let me use Win to stand for the Windows client and Lin for the Linux server: On Win we do: ssh -L 2401:localhost:2401 Lin I gather this makes a loopback connection on port 2401 on localhost (Win), talking to a 2nd loopback ssh connection on port 2401 on Lin, and because of our /etc/{services,inetd.conf} and pserver CVSROOT, cvs talks via ssh. With the ssh -l $LOGNAME it all works. Without the -l $LOGNAME we get the "authentication failure" error when the windows user tries to cvs login - *even though the ssh login works*. Each user only has a single login id. Puzzles are: 1) If the -l $LOGNAME is needed, why did it work at all previously? 2) How can the ssh login succeed but the cvs login fail? Where does the cvs server get the login id from? The client? If so, how does the ssh login id affect it? I twigged to this after trying a new ssh compiled under U/Win 2.25, which just happens to default to using "DOMAIN/$LOGNAME" as the login id. This forced me to specify -l $LOGNAME to make even the ssh login succeed. And after that, the cvs login worked. So, we're happy that it's now working, but don't really understand what went wrong, or why it now works. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Luke Kendall wrote: Mike Castle wrote: On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? No, that's exactly what I used; it's the output from a script wrapped around it that only starts an ssh connection to the cvs server machine if there isn't already one running, and also sets some environment variables. That sure looks like the standard error message. Are you sure you are sending the right user name? You said you move the CVS repository. Are you sure your ssh is still forwarding the connection to the correct machine and not to another without your name in the password file? Are you sure the repository root (--allow-root=...) hasn't changed and is it still being specified correctly to the pserver command? Play with CVS_CLIENT_LOG and see if you can trace more of the authentication. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- The cost of living hasn't affected its popularity. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Mike Castle wrote: On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? No, that's exactly what I used; it's the output from a script wrapped around it that only starts an ssh connection to the cvs server machine if there isn't already one running, and also sets some environment variables. Fundamentally it does this: wterm sh -c "ssh -l $LOGNAME -L 2401:localhost:2401 mantovani" CVSROOT=":pserver:$LOGNAME@localhost:/home/mantovani/cvs-archive" CVS_SERVER="/usr/bin/cvs" export CVS_SERVER cvs login This means that at localhost on the client, and on localhost on the server, an ssh connection to port 2401 is made. So all cvs communications are sent via ssh. We use this because we're working on a clean room project; it just happens to be the same system we use if working off site. Why don't you use :ext:luke@linuxhost:/home/mantovani/cvs-archive And set CVS_RSH to ssh. See above. Plus, it used to work until we changed the CVS server from one Linux machine to another. And this way still works when talking to another server serving another CVS archive. A very significant fact: when logged into the cvs server, if we use CVSROOT=":pserver:$LOGNAME@localhost:/home/mantovani/cvs-archive" cvs login fails there! Doing a trace of it, all we see is the server sending the message "I HATE YOU". So the password validation appears to be failing. In summary: I think we're using ssh for good reasons; it used to work; changing from one Linux machine to another (and re-doing the config) stopped it working; we can still use the technique to talk to another server serving another CVS archive. Any hints about how we diagnose this? Does cvs provide any verbose logging or debug mode? AFAIK, cvs login takes no options. My next step otherwise will be to modify the cvs source to generate some information to trace what's going on. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
Luke Kendall writes: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Is there any way to find out why the cvs client (or is it the server?) rejected the login? Is there any kind of logging information that can be examined? Like the message says, it's the server that rejected the login. When you get just that message with no additional information, it means that either the user exists but the password didn't match, If it was using the user CISRA/luke instead of luke (i.e. if for some reason it was insisting on using the Windows domain name plus user name), the password would fail to match. Is there any way to force it to use a specific user name? or the repository you specified does not match one of the --allow-root= arguments specified for the server (in /etc/inetd.conf, presumably). No, it looks like: cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs --allow-root=/home/handy/cvs-archive pserver Although the machine "handy" died, and was replaced by "mantovani", the auto mounter has been adjusted to pretend matovani is handy. We also tried explicitly changing the inetd.conf to refer to mantovani, and killed inetd processes, but it made no difference. :-( The current development version now has an additional message for the latter case, so you'll be able to tell which it is in the future. Sounds helpful. But are there any log messages we can use to find the exact username it was using? I'm suspicious of that. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs login failure
On Fri, Oct 13, 2000 at 02:42:15PM +1100, Luke Kendall wrote: But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Wait. You are using ssh to log back into the Windows machine? (luke@localhost) That doesn't seem to make a lot of sense. Or were you just obscurring information there? Why don't you use :ext:luke@linuxhost:/home/mantovani/cvs-archive And set CVS_RSH to ssh. mrc -- Mike Castle Life is like a clock: You can work constantly [EMAIL PROTECTED] and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs login failure
We had a Linux machine hosting a secure CVS archive, for some Windows and Linux development. Then the Linux PC died. Fortunately, the CVS archive was on its own drive, so we just put it into a 2nd Linux machine, and re-did all the ssh and inetd configuration. The Windows machines access the CVS archive via the pserver method, using ssh. The Linux machines just set CVSROOT to use the archive directory (it's auto-mounted). But the CVS archive isn't working for the Windows machines anymore; any attempt to do a cvs login gets the error below: CVSROOT set to :pserver:luke@localhost:/home/mantovani/cvs-archive Started ssh, so now you need to cvs login: (Logging in to luke@localhost) CVS password: cvs [login aborted]: authorization failed: server localhost rejected access Is there any way to find out why the cvs client (or is it the server?) rejected the login? Is there any kind of logging information that can be examined? One fact that is probably a red herring, is that the window in which the ssh connection to the CVS server is made, displays errors like: $ DUPRE.: Connection to port 2401 forwarding to localhost:2401 requested. Address 127.0.0.1 maps to dupre, but this does not map back to the address - POSSIBLE BREAKIN ATTEMPT! But we used to get errors like this with the now-dead Linux PC, and everything worked fine. We're using cvs version 1.10.6 under Red Hat Linux 6.1, and the cvs client version is 1.10. The only change was the replacement of one Linux PC with another. Any suggestions? luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
About the cvs login failures
I should have added that the Windows machine can access other CVS archives using the same pserver method - the cvs login command to the archive on another machine (a Solaris machine), works fine. It's just the stand-in Linux machine that the Windows clients can't cvs login to. luke ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs [login aborted]: unrecognized auth response from 10.5.0.30
OK, I've removed the "\" and it's working now. Thank you. It's a shame that the "\" was in the documentation. Jimmy Lavoie ([EMAIL PROTECTED]) - Original Message - From: Guus Leeuw [EMAIL PROTECTED] To: 'Jimmy Lavoie' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 18, 2000 4:37 PM Subject: RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30 -Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] This is the line I add in /etc/inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs \ cvs -f --allow-root=/src/cvs pserver Hmmm :) Should have spotted that earlier. Remove the \ and join both lines so that you and up with 1 line. Cheers, Guus
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] OK, I've removed the "\" and it's working now. Thank you. It's a shame that the "\" was in the documentation. Which documentation? Guus
cvs [login aborted]: unrecognized auth response from 10.5.0.30
This is the line I add in /etc/services : cvspserver 2401/tcp This is the line I add in /etc/inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs \ cvs -f --allow-root=/src/cvs pserver This is my CVSROOT variable : $CVSROOT = /src/cvs Theses lines are from /etc/shadow infog:sDWVMaihwVQww::: jimmy:90ulwh.q28y9A::: Theses lines are from $CVSROOT/passwd infog:sDWVMaihwVQww jimmy:90ulwh.q28y9A This is the line I add in $CVSROOT/config SystemAuth=yes When I use this command : "cvs -d :pserver:[EMAIL PROTECTED]:/src/cvs login", I got the following message : (Logging in to [EMAIL PROTECTED]) CVS password: cvs [login aborted]: unrecognized auth response from 10.5.0.30: Usage: \ [cvs-options] command [command-options-and-arguments] What is wrong with that? Jimmy
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] What is wrong with that? Which CVS Version? Guus
RE: cvs [login aborted]: unrecognized auth response from 10.5.0.30
-Original Message- From: Jimmy Lavoie [mailto:[EMAIL PROTECTED]] This is the line I add in /etc/inetd.conf cvspserver stream tcp nowait root /usr/bin/cvs \ cvs -f --allow-root=/src/cvs pserver Hmmm :) Should have spotted that earlier. Remove the \ and join both lines so that you and up with 1 line. Cheers, Guus
Re: [Re: [Re: support cvs login for rsh mode?] ]
Finally I found the problem with your help. I uncommented following line in CVSROOT/loginfo. The reason is that cvs init was done on version 1.9 . When I do cvs init on a temp cvsroot, 'who am i' is now replaced by 'id'. I has replaced 'who am i' with id and it is now fixed. Many thanks indead, LS DEFAULT(echo ""; who am i; echo %s; date; cat) $CVSROOT/CVSR OOT/commitlog Tobias Weingartner [EMAIL PROTECTED] wrote: On Tuesday, July 4, lucky seven wrote: I tried to find if anything like 'who am i" or other terminal dependant commands in dot files, but could not find any. I am using cvs 1.10 'Halibut' on Solaris 2.5.1 with ksh shell. The message only shows when I run "cvs commit". Then check your CVSROOT/* files... --Toby. Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
Re: cvs login to remote system
Alberto Toietta writes: (Logging in to alberto@sunultra) cvs [login aborted]: unrecognized auth response from sunultra: cvs = pserver: No CVSROOT specified! Please use the `-d' option I have specified -d Chances are you have an old version of CVS that was built without server support. I'd suggest getting the latest version (1.10.8) from www.cvshome.org and building it yourself. -Larry Jones You know how Einstein got bad grades as a kid? Well MINE are even WORSE! -- Calvin
Re: [Re: support cvs login for rsh mode?]
On Tuesday, July 4, lucky seven wrote: I tried to find if anything like 'who am i" or other terminal dependant commands in dot files, but could not find any. I am using cvs 1.10 'Halibut' on Solaris 2.5.1 with ksh shell. The message only shows when I run "cvs commit". Then check your CVSROOT/* files... --Toby.
Re: [Re: support cvs login for rsh mode?]
Many thanks for the explanation. I will look into SSH. Are there any more detailed reference for configuring/using SSH with CVS? On another topic, I get following message: Must be attached to terminal for 'am I' option How can I get rid of this? Thanks again. regards, ls [EMAIL PROTECTED] (Greg A. Woods) wrote: [ On , July 2, 1900 at 00:51:37 (JST), lucky seven wrote: ] Subject: support cvs login for rsh mode? It would be nice to support cvs login for :ext: same as :pserver: , that is, a new line will generate in HOME/.cvspass for accessing via ext and that line will be removed at cvs logout. Due to security reason, .rhosts is not allowed. Ah, no, it wouldn't actually. Doing so would again make CVS the weak link in whatever security they provide. Any external remote execution facility will supply its own method of eliminating user interaction during authentication, if that should be safe to do given the style of authentication. Certainly rsh and all versions of ssh provide such mechanisms currently so there's definitely no need to make CVS the weak link in them. If ~/.rhosts is not allowed in your environment and yet you're still using RSH then you've got some seriously brain-damaged security people! The only major loop-hole in the ~/.rhosts facility is that it allows ordinary users to grant authorisation to other users. However if your site is auditing for the presence of ~/.rhosts files then they can just as easily audit their contents and thus prevent such a loop-hole with no additional added risk (and in fact in some scenarios the overall risks go *WAY* down when you allow ~/.rhosts because people stop typing their passwords in the clear -- in fact forcing ~/.rhosts can be enormously more secure than plain old telnet (it all depends on your exact circumstances of course, including what threats you face). Indeed if your site is not allowing ~/.rhosts then they certainly won't allow a ~/.cvspass for RSH! (at least not so long as they have two functioning neurons to rub together! ;-) You should probably switch to SSH in any case though. -- Greg A. Woods +1 416 218-0098 VE3TCP [EMAIL PROTECTED] robohack!woods Planix, Inc. [EMAIL PROTECTED]; Secrets of the Weird [EMAIL PROTECTED] Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
Re: [Re: support cvs login for rsh mode?]
On Monday, July 3, lucky seven wrote: Many thanks for the explanation. I will look into SSH. Are there any more detailed reference for configuring/using SSH with CVS? On another topic, I get following message: Must be attached to terminal for 'am I' option How can I get rid of this? Thanks again. Usually a "problem" with your .login/.cshrc/.bashrc/.etc files. Don't make them run programs that may output strings upon a non-session login. IE: test from $prompt (or whatever the convention is in your shell), and don't use 'who am i' when the console is not defined... --Toby.
cvs login to remote system
Problem: I want use CVS to a remote system where is the reposity.1) I have modified /etc/inetd.confcvspserver stream tcp nowait root /usr/local/bin/cvscvs --allow-root=/home2/users/alberto/reposity pserver2) reboot the system3) I have created the file passwd in CVSROOT4) Connect using the command cvs login to the remote reposity:cvs -d :pserver:alberto@sunultra:/home2/users/alberto/reposity login(Logging in to alberto@sunultra)cvs [login aborted]: unrecognized auth response from sunultra: cvs pserver:No CVSROOT specified! Please use the `-d' optionI have specified -d Alberto Toietta
Re: cvs login to remote system
Did you set the CVSROOT environment variable in profile? If you are running LINUX, see: http://www.michael-amorose.com/cvs/ -m - At 11:59 AM +0200 7/3/00, Alberto Toietta wrote: Problem: I want use CVS to a remote system where is the reposity. 1) I have modified /etc/inetd.conf cvspserverstreamtcpnowaitroot/usr/local/bin/cvs cvs--allow-root=/home2/users/alberto/repositypserver 2) reboot the system 3) I have created the file passwd in CVSROOT 4) Connect using the command cvs login to the remote reposity: cvs -d :pserver:alberto@sunultra:/home2/users/alberto/reposity login (Logging in to alberto@sunultra) cvs [login aborted]: unrecognized auth response from sunultra: cvs pserver: No CVSROOT specified! Please use the `-d' option I have specified -d Alberto Toietta
support cvs login for rsh mode?
It would be nice to support cvs login for :ext: same as :pserver: , that is, a new line will generate in HOME/.cvspass for accessing via ext and that line will be removed at cvs logout. Due to security reason, .rhosts is not allowed. Any information would be appreciated. regards, LS Get your own FREE, personal Netscape WebMail account today at http://webmail.netscape.com.
CVS Login Eror
Title: CVS Login Eror OK, so i finally got my CVS server set up using pserver and i can import, and checkout using WinCVS and MacCVS clients. But when i make a mod and then try to do a commit on a file in either WinCVS or MacCVS, i get the following error: cvs commit -m Test xmain.cpp Milestones (in directory Macintosh HD:CVSROOT:Test1:) cvs commit: authorization failed: server 192.168.55.21 rejected access I can manually log in, i can execute import and checkout commands successfully - all with code 0 as the result, so i know i am connecting to the server ok, but it almost as if when i go to do a checkin that the server rejects my password or login info. Does anyone know what is going on? Thanks, -m -
Problems with cvs login
Sorry if this is a bit long. I am having problems just logging into cvs: (cvsusr) /usr/local/cvs/repos-1/CVSROOT: cvs -d :pserver:cvsusr@localhost:/usr/local/cvs/repos-1 login (Logging in to cvsusr@localhost) CVS password: cvs [login aborted]: received broken pipe signal The entire tree /usr/local/cvs is rw by group cvsgrp, of which cvsusr is a member. In /usr/local/cvs/repos-1/CVSROOT/passwd, I created an entry for cvsusr, and put in a copy of the encrypted password created elsewhere (works for unix login), the uid for cvsusr is 500, and the home directory is /usr/local/cvs. I have cvs version 1.10.6, RedHat 6.1, kernel 2.2.14. Has anyone had this type of problem? Thanks in advance. Bob
Re: Problems with cvs login
Robert B. Andrews writes: I am having problems just logging into cvs: (cvsusr) /usr/local/cvs/repos-1/CVSROOT: cvs -d :pserver:cvsusr@localhost:/usr/local/cvs/repos-1 login (Logging in to cvsusr@localhost) CVS password: cvs [login aborted]: received broken pipe signal pserver is broken in 1.10.6 -- update (at least the server) to the latest interim release (1.10.8) from www.cyclic.com. -Larry Jones Hello, local Navy recruitment office? Yes, this is an emergency... -- Calvin
cvs login giving unrecognized auth response
Hello all cvs-ers, Not clear why this is happening to me and would love feedback if you've encountered this: # ./cvs login (Logging in to acox@omi-internal) CVS password: cvs [login aborted]: unrecognized auth response from omi-internal: cvs: invalid option -- o This is my CVSROOT setting: # printenv | grep CVSROOT CVSROOT=:pserver:acox@omi-internal:/data/web It's the latest package from sunfreeware.com (working on Solaris 2.6) Anyone with an idea? Thanks much. -Adrian
Re: cvs login giving unrecognized auth response
AC writes: # ./cvs login (Logging in to acox@omi-internal) CVS password: cvs [login aborted]: unrecognized auth response from omi-internal: cvs: invalid option -- o That looks like the server is not configured correctly -- see "Trouble making a connection to a CVS server" in the Cederqvist manual for troubleshooting advice. -Larry Jones Nobody knows how to pamper like a Mom. -- Calvin
CVS login through scripts?
Is the cvs login command always interactive? Can I somehow script it?
scripting CVS login
Can you script cvs login? I have read through the documentation and it only seems to be interactive.
Re: Automating CVS login for scripts
Art Solano writes: Can I peform a CVS login unattended without user interaction so I may include CVS commands within my scripts? No, but you only have to login once, not every time (CVS saves the login information in ~/.cvspass), so you just need to login once as the user the script will be running as, then you can run the script as much as you want without having to worry about loging in. -Larry Jones Years from now when I'm successful and happy, ...and he's in prison... I hope I'm not too mature to gloat. -- Calvin
Re: scripting CVS login
"Art Solano" [EMAIL PROTECTED] writes: Can you script cvs login? I have read through the documentation and it only seems to be interactive. There used to be a CVS_PASSWORD environment variable, but it was deprecated due to security concerns (see login.c). I can't think of any way to make it non-interactive now, except to just put the correct entry in ~/.cvspass and hope. -Karl