---
title: "重设SVN客户端密码"
author: "guoapeng"
date: "2009-11-23T16:54:32Z"
tags: ["Eclipse", "SVN", "Vmware", "subversion"]
categories: ["编程语言"]
slug: "svn"
draft: false
lastmod: "2010-01-20T17:01:07Z"
id: 523763
url: "https://guoapeng.iteye.com/blog/523763"
---

在 Ubuntun 9.10 i386 Desktop 環境，安裝 Eclipse 3.5.1 with Sublcipse 1.0.0 版。

製作一份共用的 VMWare Image 檔互傳使用，並使用 Eclipse 與 Svn 管理案子，因此碰到如何移除 SVN 所紀錄的 User & Password 問題，找了很久並未發現 Eclipse 或 Subclipse 介面上有無去除密碼的方式，最後選擇直接砍掉儲存密碼的檔案，如此一來，把 VMWare Image 傳給其他人時，第一次使用就會詢問帳號密碼，以此讓使用者以自己的帳號進行專案的管理。

Subclipse 儲存密碼的資訊：

檔名：.keyring 
位置：$HOME/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.core.runtime/.keyring 
動作：# rm $HOME/.eclipse/org.eclipse.platform_3.5.0_155965261/configuration/org.eclipse.core.runtime/.keyring
 (記得先備份，以免出事) 
另外，如果有用到 Subversion 時，可能也會有一樣的問題，這時也可以移除紀錄帳密的檔案來達到一樣效果：

目錄：auth 
位置：$HOME/.subversion/auth 
動作：# rm -r $HOME/.subversion/auth (記得先備份，以免出事) 