你好,游客 登录 注册 搜索
背景:
阅读新闻

Linux下SVN账户密码保存设置

[日期:2015-06-05] 来源: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服务器 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

linux
相关资讯       Linux SVN  SVN保存密码 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款