Simplest Enterprise Continuous Integration Solutions

Saturday, May 5, 2012

Enterprise Linux: Subversion Edge + HTTPS


# Subversion Edge https with store-plaintext-passwords=no

[svn_user@linux64-svn-server ~]$ svn co https://linux64-svn-server/svn/my_test/branches/devs/rel_2_1
Authentication realm: <https://linux64-svn-server:443> CollabNet Subversion Repository
Password for 'svn_user':
-----------------------------------------------------------------------
ATTENTION!  Your password for authentication realm:
   <https://linux64-svn-server:443> CollabNet Subversion Repository
can only be stored to disk unencrypted!  You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible.  See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/home/svn_user/.subversion/servers'.
-----------------------------------------------------------------------
Store password unencrypted (yes/no)?

# if say yes

[svn_user@linux64-svn-server ~]$ find /home/svn_user/.subversion
/home/svn_user/.subversion
/home/svn_user/.subversion/config
/home/svn_user/.subversion/servers
/home/svn_user/.subversion/auth
/home/svn_user/.subversion/auth/svn.ssl.client-passphrase
/home/svn_user/.subversion/auth/svn.ssl.server
/home/svn_user/.subversion/auth/svn.ssl.server/3cd723e65222898d9adf719b6a36b0de
/home/svn_user/.subversion/auth/svn.username
/home/svn_user/.subversion/auth/svn.simple
/home/svn_user/.subversion/auth/svn.simple/8d5ed2a064a46be1d04c644c7b392be7
/home/svn_user/.subversion/README.txt
[svn_user@linux64-svn-server ~]$ cat /home/svn_user/.subversion/auth/svn.simple/8d5ed2a064a46be1d04c644c7b392be7
K 8
passtype
V 6
simple
K 8
password
V 8
svn_user_password
K 15
svn:realmstring
V 61
<https://linux64-svn-server:443> CollabNet Subversion Repository
K 8
username
V 4
svn_user
END

# uncomment store-plaintext-passwords=no within /home/svn_user/.subversion/servers

[svn_user@linux64-svn-server ~]$ vi /home/svn_user/.subversion/servers
[svn_user@linux64-svn-server ~]$ cat /home/svn_user/.subversion/servers | grep ^store-plaintext-passwords
store-plaintext-passwords = no
[svn_user@linux64-svn-server ~]$ find /home/svn_user/.subversion
/home/svn_user/.subversion
/home/svn_user/.subversion/config
/home/svn_user/.subversion/servers
/home/svn_user/.subversion/auth
/home/svn_user/.subversion/auth/svn.ssl.client-passphrase
/home/svn_user/.subversion/auth/svn.ssl.server
/home/svn_user/.subversion/auth/svn.ssl.server/3cd723e65222898d9adf719b6a36b0de
/home/svn_user/.subversion/auth/svn.username
/home/svn_user/.subversion/auth/svn.simple
/home/svn_user/.subversion/auth/svn.simple/8d5ed2a064a46be1d04c644c7b392be7
/home/svn_user/.subversion/README.txt
/home/svn_user/.subversion/.nfs000000000042f11e00000001
[svn_user@linux64-svn-server ~]$ cat /home/svn_user/.subversion/auth/svn.simple/8d5ed2a064a46be1d04c644c7b392be7
K 15
svn:realmstring
V 61
<https://linux64-svn-server:443> CollabNet Subversion Repository
K 8
username
V 4
svn_user
END

No comments:

Post a Comment