- How to Change Mac User Account and Home Directory Name
- How to Edit a Mac OS X Snow Leopard User Account
- Helpful answers
- The simple approach: account aliases
How to Change Mac User Account and Home Directory Name
For Account name simply replace bobsmith with janedoe. Double-check the entries for spelling and typos, then click OK. Your Mac will ask Are You Sure to confirm you indeed want to make this change, so this is the point of no return. These actions change the Mac user ID record internally for the account. We now need to rename the actual home directory. Launch Terminal, then type the following at the command prompt:.
Make sure you type the old and new usernames correctly, then hit Return.
How to Edit a Mac OS X Snow Leopard User Account
You will be prompted to enter your admin account password. This command moves mv the entire folder from the old location to the new one, which in this case is effectively just a rename operation. When finished quit Terminal and System Preferences, then reboot your Mac. Upon restart the account name and home directory will both have been renamed to janedoe. This is a common setup for servers and can also be used on any system where you want to keep things separate, such as having the Operating System and Applications on a Solid State Drive and the user data on a larger but slower hard disk drive.
As above, log out of the account to be changed and log in to a second admin account. In the Advanced dialog box leave the account name as is bobsmith but change the location of the Home directory. Using the Finder create a folder named Users on the Employees drive. In the Users and Groups preference pane, click the lock icon in the bottom left corner and then supply your administrator password this may be the password for the spare admin account, not your normal administrator password. From the pop-up menu, select Advanced Options. Edit the Account Name field to match the new home directory name you created in the steps 2 through 7.
Change the Home Directory field to match the new name you created in step 6. You can click the Choose button and navigate to the Home Directory instead of typing in the new name. Once you have made both changes account name and home directory , you can click the OK button. Log out of the administrator account you used to make the changes, and log back into your newly changed user account. If you can't log in, or if you can log in but can't access your home directory, chances are the account name and home directory names you entered don't match. Log in again using the spare administrator account, and verify that the home directory name and account name are identical.
The full name of a user account is even easier to change, although the process is slightly different for OS X Yosemite and later versions of the operating system than older versions of OS X. Click the lock icon in the lower left corner, and then supply the administrator password for the account you're currently using. Right-click the user account whose full name you wish to change. OS X and the macOS has come a long way from the days when typos in account names were something you had to live with, unless you were willing to look up various Terminal commands to try to correct a silly mistake.
Account management is now an easier process, one that anyone can handle. Share Pin Email. Tom Nelson has written hundreds of articles, tutorials, and reviews for Other World Computing and About. He is the president of Coyote Moon, Inc.
Updated September 28, Each user account contains the information below; well, actually there's more information that goes into a user account, but these are the three aspects we're working with here: Full Name: I followed the above how to and everything seems to be working fine except for one thing. The 'Documents' folder in 'Places' under my username is not accessible, says I don't have the appropriate priveleges. When I 'Get Info' on this folder it shows an unknown user as the owner. I'm guessing I need to make that me. By the way to get to this point, rather than run the multiple exec chowns I followed Creeture's xargs method and that seemed to work - all but this particular issue.
Also note that I can access all my files. There are no files in the inaccessible 'Documents' folder and there is another 'Documents' folder directly under the Mac Harddrive - I am not a regular Mac user but would like to change that. I was thinking to try this http: I also tried running this command in a terminal and again as root user: Finally, as per Mike, the user doesn't appear in the list but can be accessed by manually typing in the credentials from the 'Other' option.
Cabeleireiro says: Jun 18, So the permissions error probably had something to do with the state of that instance of Ubuntu. I had been experimenting with putting my home folder on a second hard drive. Ed Burns says: Jun 27, I didn't see anything about after some quick web searching, so I thought I'd just add on here after figuring it out. Select the desired existing group in the left pane. Ctrl click on the desired group and choose "Advanced Options You will be presented with a modal dialog in which you can edit the GID.
Make sure you have a back up!!!
- Apple Footer;
- How to Change the Short Name of a User Account in Mac OS X?
- euro truck simulator 1 cheats mac.
- download fastest youtube downloader free for mac?
These steps failed for me. After following described steps, I could not login with my modified user. I booted into recovery mode and repaired permissions and verified the disk.
The simple approach: account aliases
I also used resetpassword to update the users home folder ACLs. I reset the user password for good measure, too. All to no avail. One possible difference is my HD is encrypted. I'm not sure if that is the reason or not but I now need to restore from back up. Sorry to hear. Maybe this has something to do with the GeneratedUID problems see http: Bob g says: To be consistent to convert to UID , I think your code sample in the original posting: Sep 03, Thanks Bob, I missed that.
Thanks, Roman. The generated uid issue seems more to do with network login. I think I have a solution which did not require restoring from back-up. Here was my problem: After following the described steps as outlined in your article, I could not login. The login screen showed me two prompts one for the user and one for the hard disk. Logging in to either one would just freeze.
- how to reformat wd my passport for mac os.
- awesome hd wallpapers for mac!
- usare il mac come televisore.
- driver d-link dwa-140 pour mac.
- Change the User Short Name Only.
- annah mac miss you lyrics.
Couple things to note: My HD was encrypted and the user was enabled to login without prompting for the HD pwd. And my file system had uid issues but didn't manifest themselves until after encrypting the HD. A long time ago I had to create a new user to fix some other stupid apple issue. Hence my user had uid but a lot of files on the disk were owned by After encrypting the drive and a lot of pain doing that, too, see: So I decided to use your very well done steps to solve my problem of getting all the files under the original user uid To be fair: I don't think your steps had anything to do necessarily with the issues I'm having.
I suspect my mac was not in a good state even though it was working. Here was the solution: In addition to all the steps in your article, I did these additional steps to get back to working with no uid files. But it didn't, so I continued. After this completed successfully, I still had issues logging in with myuser. Rebooted and logged in as myuser. I don't remember if it worked right off the bat or if I attempted to login more than once but now I'm able to login with myuser.
And it seems like all my data is there. My ruby development environment no longer works. I need to install xCode, it seems that got lost in this process. It's like I have a clean machine. I thought all my development stuff would still work but I guess not. Anyway, Roman, I think I'm back on track. And thank you for your article it did help me. For other readers, the alternative approach I think might have been cleaner: However, I do have a lot more understanding of how the ACLs work!
MattT says: Sep 12, Hey, Thanks for the info, very helpful with some work I'm currently doing. Just though that I'd add a way to find what user is currently as that is in my case a required step: Sep 18, The whole discussion is way over my head! I just want to create a new username and since my machine is in a secure location, I want to log on once each day, shut down and start up and log on the next day or so without having Lion prompt to log on every 10 minutes.
A simple answer please even if means having reload my whole system!. This is a really great set of notes on how to get something done that was very difficult. Thanks so much - and you might want to update the "chown" commands to include the "-hf" instead of "-h" switch to get around the possible problems with extended ACL's that can prevent chown from working correctly.
Now if only I could figure out why Migration Assistant gets an error when I try moving over one particular user. It copies the files OK, but gets an error when creating the user, so doesn't complete the migration process completely. Wolfgang says: Nov 21, AnneTheAgile says: Explaining Guido's hint; here is a how to, demonstrating how we can avoid use of Sed and yet also use and replace a prior argument! Thank you to both Guido and Roman especially for hosting this page.
Citations; http: Finally, this tutorial also works for Mar 05, Thank you for this tutorial. I am still hesitating because of a lot of installed programs like TimeCapsule, Iphone sync and backup, Xcode etc. If id are different, mapping is needed. But looking at the different steps proposed, I suggest some variants or additions which could be useful: Google for "Server Admin Tools It can be helpful to look at your user id and group id, create new groups etc. It is a server application but it works for clients. Here are a few suggestions: It reveals if admin 80 belongs to it or not.
They can be fetched by the command: Then you have to rename the files with mv. Josh says: Aug 07, These steps worked great for me on OS X Joe says: Thanks for this guide. It's definitely what I need to share my home folder with Linux. But what about Time Machine backups? Is it safe to change the IDs of the backup files using find?
Nov 26, Glad if it helped. About the Time Machine backups: Yes, it should be perfectly safe to change the ownership of the backup files. Trudge says: Excellent guide to OSX I run Perl through Apache and each script writes a log file to the current directory. This guide went a long way to helping me clear up my situation. Many thanks. Michael says: Mar 26, Thank you very much, this was very helpful.