Skip navigation

how to change home directory name?

5497 Views 11 Replies Latest reply: Jan 9, 2014 11:02 PM by baltwo RSS
idenizen Calculating status...
Currently Being Moderated
Nov 6, 2012 12:43 PM

HI,

 

Just wondering if anybody has a solutiuon for this?

Mac OS X (10.7.5), iphone
  • BDAqua Level 10 Level 10 (114,800 points)
    Currently Being Moderated
    Nov 6, 2012 1:04 PM (in response to idenizen)

    Changing the account name

     

    Though there are other methods by which an advanced user may change the short name and related information, the easier and safer workaround is described below.

    Before following these steps, you may wish to back up your important data.

    For Mac OS X v10.5 or later

    1. Enable the root user.
    2. Log in as root.
    3. Navigate to the /Users folder.
    4. Select the Home folder with the short name you want to change, and rename it just like you would rename any folder. Keep in mind that the shortname must be all lowercase, with no spaces, and only contain letters.
    5. Use the Users & Groups pane (Accounts pane in Mac OS X v10.6.8 or earlier) in System Preferences to create a new user with the Account name or Short Name that you used in the previous step.
    6. Click OK when "A folder in the Users folder already has the name 'account name'. Would you like to use that folder as the Home folder for this user account?" appears. Note: This will correct the ownership of all files in the Home folder, and avoid  permissions issues with the contents.
    7. Choose Log Out from the Apple menu.
    8. Log in as the newly created user. You should be able to access all of your original files (on the desktop, in Documents, and in the other folders of this Home).
    9. After verifying that your data is as expected, you can delete the original user account via the Users & Groups pane (Accounts pane in Mac OS X v10.6.8 or earlier).
    10. Disable the root user.

     

    http://support.apple.com/kb/HT1428

  • BDAqua Level 10 Level 10 (114,800 points)
    Currently Being Moderated
    Nov 6, 2012 4:16 PM (in response to idenizen)
    • Any user with an administrator account can become the root user or reset the root password.

    What PW did you make for root?

     

    http://support.apple.com/kb/HT1528

  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Nov 6, 2012 4:42 PM (in response to idenizen)

    No need to enable root. Try ths: https://discussions.apple.com/docs/DOC-3872

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • BDAqua Level 10 Level 10 (114,800 points)
    Currently Being Moderated
    Nov 6, 2012 10:26 PM (in response to baltwo)

    Nice work baltwo, thanks!

  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Nov 6, 2012 11:12 PM (in response to BDAqua)

    thumbsup.gif

    27" i7 iMac SL, Lion, OS X Mountain Lion (10.8.2), G4 450 MP w/Leopard, 9.2.2
  • JenniferFromKettleFalls Calculating status...
    Currently Being Moderated
    Jan 9, 2014 10:03 PM (in response to BDAqua)

    I am attempting to do this as well, however I am experiencing problems with renaming the Home folder. I have OS X Lion 10.7.5. I looked up how to change a folder name for OS X Lion and this is what it had to say: "You can change the name of most files, folders, and disks in the Finder. You can’t rename your home folder (the one with your name on it)."  Source: http://support.apple.com/kb/PH3751

     

    WHY can't we rename the home folder on OS X Lion? Is there really no way around it?

  • baltwo Level 9 Level 9 (59,180 points)
    Currently Being Moderated
    Jan 9, 2014 11:02 PM (in response to JenniferFromKettleFalls)

    The link I posted should give you the steps.

    27" i7 iMac mid '11 SL, MLion, OS X Mavericks (10.9.1), G4 450 MP w/Leopard, 9.2.2

Actions

More Like This

  • Retrieving data ...

Bookmarked By (1)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.