码迷,mamicode.com
首页 > 系统相关 > 详细

Linux下SVN账户密码保存设置

时间:2014-08-16 23:45:51      阅读:272      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   color   java   io   文件   

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

打开SVN配置文件:

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

找到如下代码:

bubuko.com,布布扣
### 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
bubuko.com,布布扣

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

store-passwords = yes

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

 

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

Linux下SVN账户密码保存设置,布布扣,bubuko.com

Linux下SVN账户密码保存设置

标签:des   style   blog   http   color   java   io   文件   

原文地址:http://www.cnblogs.com/liuzhi/p/3917069.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!