SVN --password shows password in process

ophuk
ophuk
We have a script that uses the svn command below several times to pull files off the server to create a build for our software. The script takes in a users AD username and password and uses that to authenticate them to create the build and calls svn with them. When using htop or ps you an view the users password which is obviously not ideal. Unfortunately we all use the same login to access the build machine and thus using keys isn't really an option since they would all have to be stored on the machine together - and they have a tendency of using the same credentials for things. Is there a way to pass in the password to svn without it showing in the process? Thanks!    svn co https://$svnServer/$svnDir --username '$username' --password '$passwd' --non-interactive --no-auth-cache --trust-server-cert

Last updated

orbrey
orbrey
Hi,  If you store the password on each user's machine locally (as per http://linuxwave.blogspot.co.uk/2011/12/store-svn-password.html) that should prevent svn from prompting for a password, hopefully that should stop it from showing in the process?  Hope that helps, please let us know if not.  Cheers,  Matt

1-2 of 2

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.