感谢支持
我们一直在努力

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

Ubuntu 14.04 下搭建SVN服务器 svn://  http://www.linuxidc.com/Linux/2015-01/111956.htm

CentOS 6.2 SVN搭建 (YUM安装) http://www.linuxidc.com/Linux/2013-10/91903.htm

CentOS 6.5部署Apache+SVN  http://www.linuxidc.com/Linux/2013-12/94315.htm

Apache+SVN搭建SVN服务器 http://www.linuxidc.com/Linux/2013-03/81379.htm

Windows下SVN服务器搭建和使用 + 客户端重新设置密码 http://www.linuxidc.com/Linux/2013-05/85189p5.htm

Ubuntu Server 12.04 安装 SVN 并迁移 Virtual SVN数据 http://www.linuxidc.com/Linux/2013-05/84695.htm

Ubuntu Server搭建svn服务以及迁移方法 http://www.linuxidc.com/Linux/2013-05/84693.htm

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-06/118400.htm

赞(0) 打赏
转载请注明出处:服务器评测 » Linux下SVN账户密码保存设置
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏