歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Linux下SVN賬戶密碼保存設置

Linux下SVN賬戶密碼保存設置

日期:2017/2/28 14:01:10   编辑: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

Copyright © Linux教程網 All Rights Reserved