红联Linux门户
Linux帮助

Linux下SVN账户密码保存设置

发布时间:2015-06-05 09:52:56来源:linux网站作者:linux人

Linux下用SVN进行更新等操作时,总是提示输入用户名和密码,很不方便。因此搜了下解决办法,总结如下:


打开SVN配置文件:

vim /home/<user>/.subversion/config


找到如下代码:

### Set store-passwords to 'no' to avoid storing passwords in the
### auth/ area of your config directory.  It defaults to 'yes',
### but Subversion will never save your password to disk in
### plaintext unless you tell it to (see the 'servers' file).
### Note that this option only prevents saving of *new* passwords;
### it doesn't invalidate existing passwords.  (To do that, remove
### the cache files by hand as described in the Subversion book.)
# store-passwords = no


将store-passwords = no这行更改为:

store-passwords = yes


这样在下次进行SVN操作时就不用再输入用户名和密码了。


Ubuntu 14.04如何安装可视化SVN:http://www.linuxdiyf.com/linux/12437.html

Linux(CentOS 6.5)下SVN的安装、配置及开机启动:http://www.linuxdiyf.com/linux/12365.html

Ubuntu 14.04快速搭建SVN服务器及日常使用:http://www.linuxdiyf.com/linux/12252.html

CentOS 6.3 64位SVN服务器搭建&Win7 32位SVN客户端连接:http://www.linuxdiyf.com/linux/10371.html