Linux下SVN账户密码保存设置

王朝学院·作者佚名  2016-05-27
窄屏简体版  字體:   |    |    |  超大  

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

 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
© 2005- 王朝網路 版權所有 導航