Mac OS X 更改家目錄的名稱

經常會有人問如何更改家目錄的名稱,或是更改後發現無法登入或是檔案不見等等的情形,若稍對 *nix 有點經驗的人,應該瞭解這些權限的原由以及 passwd 檔案的關連,所以通常不會遇到問題,就算發現改了之後有災情,也很簡單可以修正回來。

那麼,應該怎麼改才是正確的方式? 其實 10.5 有 GUI 界面可以協助修改
首先先開啟 Finder 將家目錄更改為你想要的名稱。

接著進入 System Preferences / Accounts 如果下方的鎖是鎖上的,請先解開,這樣才能更改設定。解開後在要更改的帳號上點右鍵,選擇進階選項。

187-1

接著將 Home Directory 改為剛剛更過名的資料夾。 Short Name 也就是帳號,一般來說與家目錄名稱相同,當然你要不用也可以。其他的部份如果你不知道你在做什麼,就千萬千萬別動了,由其是 User ID, Group ID

187-2


Comments (4)

Login

E-mail
Password

Login with Facebook

App Store

zhim! extended
支援行列、倉頡、嘸蝦米、大易、倚天、拼音、注音中文輸入法等,眾多輸入法的記事本。

iLyrics Mobile
中、英、日歌詞的行動搜尋利器。

Google+

Google Ads

Tags

About the Author

I'm a freelance developer. Live as web developer, UI designer, iOS developer, webmaster, consulter and "fireman" for many projects.

Tweets from Ethan Liu

趁過年時候開始 iLyticsWidget3 差不多完工了
15 hours ago (RT, @)

@SwampyTheGator I Tri-Ducked "Meet Swampy" #wheresmywater http://t.co/urovJ5xi
Dec 25, 2011 (RT, @)

隔壁先是燒焦,再來是煎魚,滿屋子魚皮味讓我一直反胃…你們可以不要天天煎魚嗎!!!!!!!
Dec 20, 2011 (RT, @)

第一次買高鐵電子車票,然後我就買錯日期了,可惜換票不能換一張數位的給我
Dec 10, 2011 (RT, @)

I like the new look of youtube
Dec 3, 2011 (RT, @)

is javascript:alert() disable by windows7?
Nov 28, 2011 (RT, @)

no more web app for app store please, bookmarks for safari is your home
Nov 22, 2011 (RT, @)

@chocolatapp thank you
Nov 22, 2011 (RT, @)

no column selection? lots of textmate's power are missing @chocolatapp
Nov 21, 2011 (RT, @)

“@CloudFlareSys: attack in ams mitigated. will continue to monitor.” looks like still surffering
Nov 17, 2011 (RT, @)

Thank You Steve

Do NOT follow this link or you will be banned from the site!