http://www.macosxhints.com/article.php?story=20071025220746340&query=home

10.5: Easily change the location of your home directory
System 10.5
Unfortunately, the procedure for moving a user folder, or all user folders, to an alternate volume under Tiger and earlier no longer works in Leopard; that procedure used NetInfo, and NetInfo has been replaced in Leopard by Directory Services. But for the most basic task -- moving a user folder -- Apple has made the process much easier in Leopard.

First, copy your home directory to the desired location; for example, to an external hard drive. (The ditto -rsrc command in Terminal is likely the quickest way, and guarantees you don't miss anything or mess up permissions: sudo ditto -rsrc "/Users/username" "/Volumes/path-to-new-folder".)

Then Control-click on your account's name in the Accounts pane of System Preferences and choose the Advanced Options item that appears. In the new Advanced Options screen, you'll see a field for Home Directory; enter the path to your new home directory here, or click on the Choose button and navigate to the new home directory.

Once you've made the change, restart, log back in, and then verify the location and functionality of the new home directory. You can then delete the original home directory.

This procedure has worked for me with several external hard drives. You just need to make sure that the drive hosting your home directory is connected before you attempt to log in. If it isn't, you'll get an error -- which is preferable to the behavior of Tiger and earlier versions of OS X, which would create a new user folder and then change the home-directory path to that new folder, forcing you to reset the location again. (Unfortunately, Leopard client doesn't let you use this setting, alone, to place your home directory on a remote volume; for example, on an AirPort Disk.)

If you want to move multiple account folders, you need to change the directory for each account separately. To change the location of the /Users folder for all accounts, present and future, requires a much different approach using some new-in-Leopard command-line utilities (such as dscl).
    •     [13,187 views]   
Rate this hint: [ 1  · 2  · 3  · 4  · 5 ] Average rating:
번호 제목 글쓴이 날짜 조회 수
77 [펌] OS X에서 파일 시스템 관리를 위한 디스크 유틸리티와 fsck의 사용 Administrator 2008.03.30 30530
76 [펌] 맥미니에 소요된 부품 목록 Administrator 2008.03.30 45270
75 [펌] ★ 애플 Mac mini 리뷰 & 분해기! [1] Administrator 2008.03.30 27391
74 제로보드 버그 Administrator 2008.03.30 24621
73 리얼맥 시동음 제거 [1] Administrator 2008.03.30 30836
72 [펌] 맥미니 전력 소모 (애플 자료) [2] sukhyun 2008.03.30 26838
71 [펌] Linux on the Mac Mini Administrator 2008.03.30 26380
70 [펌] 집에서 Mac으로 메일서버 운영하기 (1) [1] Administrator 2008.03.30 30564
69 [펌] Tryout Mac Mini as Fileserver Administrator 2008.03.30 34182
68 [펌] 도구 없이 wire만으로 맥미니 분해하기!! [2] sukhyun 2008.03.30 35531
67 .DMG to .ISO sukhyun 2008.04.03 23341
66 DMG resize sukhyun 2008.04.04 22151
65 man hdiutil sukhyun 2008.04.04 136661
» [펌] 10.5: Easily change the location of your home directory sukhyun 2008.04.06 21867
63 [펌] PC에서 맥FTP서버로 접근시 한글 깨짐문제. [1] sukhyun 2008.04.06 38589
62 Cyberduck - FTP and SFTP Browser for Mac OS X file sukhyun 2008.04.06 24327
61 transmit 3 - FTP client [1] sukhyun 2008.04.06 24322
60 [펌] Tutorial: Using what's new in Leopard's Accounts and File Sharing Preferences sukhyun 2008.04.07 32755
59 [펌] FTP Only Accounts Under Mac OS X Leopard sukhyun 2008.04.07 23598
58 [펌] ftpd encoding patch sukhyun 2008.04.07 24373

사용자 로그인