Change the user's directory name on Mac OS

Source: Internet
Author: User

After the new MacBook is in hand, it often creates users, logs in, tries out, and then migrates the data. The problem is, when migrating data, if the user's name is the same, although merging, sometimes the user's directory name will automatically add a 1. For example, my name is bred, after the creation of this user, the other Mac called bred of the user all the data are migrated, finished found home named "Bred 1" (the user's login name or bred), for the perfectionist people, very uncomfortable. So the internet search how to modify the user directory name, the result is a bunch of useless information. It's easier to find out for yourself (Apple likes to hide some advanced settings). Here's how:

1. Create a new user with administrator privileges, restart, log in with this temporary user

2, directly open the terminal, under/USER, direct MV need to modify the directory name:

sudo MV 1\ Bred

3, open the system settings of users and groups, right-click the user needs to modify (if locked need to unlock, unlocked in the lower left corner of this window), there will be a high-level options come out, click, Pop-up dialog box with advanced options, there is a user directory, directly pointed to the modified directory can be.

4, restart (do not use logoff, logoff may or may have some environment variables what point to the original directory, will automatically create some files) can.

Change the user's directory name on Mac OS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.