Re: CVS Login Password with @ in it

"Arthur Barrett" <[email protected]> Wed, 3 Jun 2009 15:05:59 +1000
Newsgroups gmane.comp.version-control.cvs.windows-nt.user
Message-ID <[email protected]>
Michael,

Putting the password in the connection string is a rather risky practice (security wise).

Is it possible to use sspi instead (which will automatically pick up the authentication token - including password - of the logged in user) if the server is windows or ssh with a key if the server is non-windows?

The only alternative is to use:
set CVSROOT=:pserver:domain\username@server_name:portNo/repository
cvs login -p pas@word

Regards,


Arthur



-----Original Message-----
From:	[email protected] on behalf of Michael Eldridge
Sent:	Wed 6/3/2009 9:59 AM
To:	[email protected]
Cc:	
Subject:	[cvsnt] CVS Login Password with @ in it

Hi all,

I have been trying to write some script files to assist with some of the common tasks we do in CVS and I have it a snag. I have been using the following command to setup the connection string:

set CVSROOT=:pserver:domain\username:password@server_name:portNo/repository

This works fine for most users but I now have someone that is using the @ symbol in their password. EG

set CVSROOT=:pserver:domain\username:p@ssword@server_name:portNo/repository

This obviously causes a problem with the string passing. Unfortunately the password structure used by this company means that a lot of users will probably have this symbol in their password. Is there and escape character I can use to get around this problem?

Thanks.


_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/



_______________________________________________
cvsnt mailing list
[email protected]
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/