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 <real accountname> <cvs account name>



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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von René Berber
Gesendet: Donnerstag, 5. Oktober 2006 03:33
An: cygwin@cygwin.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: <pserver-user> <encrypted-password> <real-username>

> 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:[EMAIL 
> PROTECTED]
> host:/testrepo passwd -a -r nijkamp afoobar3
>
> Adding user [EMAIL PROTECTED]
> New Password:
> Verify Password:

I don't understand what you are doing here, what version of CVS understands the 
command "passwd"?

> [Putty/Cygwin]
>
> [EMAIL PROTECTED] ~
> $ cvs -d :pserver:nijkamp:[EMAIL PROTECTED]:/testrepo passwd -a -r nijkamp 
> foobar2
>
> Adding user [EMAIL PROTECTED]
> 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/

Reply via email to