Message-Id: <200610051048.k95AmOw6021563@delorie.com> X-Spam-Check-By: sourceware.org X-Authenticated: #27332160 Subject: AW: Cygwin server/cvs passwd problem Date: Thu, 5 Oct 2006 12:48:12 +0200 From: "Erik Nijkamp" To: =?utf-8?Q?"Ren=C3=A9 Berber"?= , "cygwin AT cygwin DOT com" Reply-To: erik DOT nijkamp AT gmx DOT de User-Agent: Kerio Outlook Connector (6.1.0.40300) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Y-GMX-Trusted: 0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k95AmOw6021563 http://www.cvsnt.org/wiki/InstallationTips#head-b6c8355ff21a64da5c4cad319b631ec9e826af5f Section 4.6 Any user entered like this MUST be an NT user on the *local* system! CVS will not accept any user login that is not connected to a "real" account. But you can "alias" a CVS login to a "real" user by this command (only works if users connect with pserver): cvs passwd -a -r Actually I need an alias because we only have a 5 user license for the nt machine. However, could you please answer the question, if that is possible in some way. The CVS server itself is running on NT (not within cygwin) and the passwd command is NOT working in cygwin since there is no " Verify Password:" and it never returns. Yes, I'm using CVS NT and I ask here because this is not a matter of cvs nt, but rather of cygwin since it doesn't print the "verify password:". -----Ursprüngliche Nachricht----- Von: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] Im Auftrag von René Berber Gesendet: Donnerstag, 5. Oktober 2006 03:33 An: cygwin AT cygwin DOT com Betreff: Re: Cygwin server/cvs passwd problem Erik Nijkamp wrote: > Currently I’m trying to use the newest cygwin version as ssh server > for windows xp sp2, > > which is working quite smoothly. But actually I need to create a cvs > alias for an existing nt user. An alias? Are you in fact creating a user in the /etc/passwd file? if you want to use it as an alias you have to copy the SSID part of the real user to the alias user. As an option, an much easier, have you considered adding a user in CVS? You just have to add a passwd file into the reporitory's CVSROOT, an entry of the form: > Works out of the box in windows/prompt itself, but whenever I try > exactly the same within the cygwin or putty bash it hangs on the second password > verification: > > [NT] > C:\Documents and Settings\Administrator>cvs -d :pserver:nijkamp:secret AT local > host:/testrepo passwd -a -r nijkamp afoobar3 > > Adding user afoobar3 AT localhost > New Password: > Verify Password: I don't understand what you are doing here, what version of CVS understands the command "passwd"? > [Putty/Cygwin] > > nijkamp AT 9956VTM ~ > $ cvs -d :pserver:nijkamp:secret AT localhost:/testrepo passwd -a -r nijkamp foobar2 > > Adding user afoobar2 AT localhost > New Password: secret It looks like it worked, what is the problem? > This is a must for my current project and I would be glad if somebody > could help me. You seem to be using a modified CVS, so why ask here? My Cederqvist manual for CVS 1.12.12 says "Someday, there may be a cvs passwd command", I know that is not the latest version but the latest in Cygwin packages is 1.11.21 (latest stable). -- René Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/