[cvsnt] CVS Login Password with @ in it
arthur.barrett at march-hare.com
Wed Jun 3 06:05:59 BST 2009
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 at server_name:portNo/repository
cvs login -p pas at word
From: cvsnt-bounces at cvsnt.org on behalf of Michael Eldridge
Sent: Wed 6/3/2009 9:59 AM
To: cvsnt at cvsnt.org
Subject: [cvsnt] CVS Login Password with @ in it
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 at 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 at 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?
cvsnt mailing list
cvsnt at cvsnt.org
Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/
More information about the cvsnt