This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: Cygwin server/cvs passwd problem

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: [] Im Auftrag von Renà Berber
Gesendet: Donnerstag, 5. Oktober 2006 03:33
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:secret@local
> host:/testrepo passwd -a -r nijkamp afoobar3
> Adding user afoobar3@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@9956VTM ~
> $ cvs -d :pserver:nijkamp:secret@localhost:/testrepo passwd -a -r nijkamp foobar2
> Adding user afoobar2@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:
Problem reports:

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]