Linux下SVN账户密码保存设置

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 doesnt 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操作时就不用再输入用户名和密码了。

 

(文章来源:http://www.cnblogs.com/shockerli/p/svn-auth-save.html)

Linux下SVN账户密码保存设置,古老的榕树,5-wow.com

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。