Migrate from Mac OS X Network Account to Local

Posted on 2011-05-11
Medium Priority
Last Modified: 2012-08-13
For one reason and another I'm considering migrating some Mac OS X (10.5 & 10.6) users from network/mobile accounts to local accounts. What's the best way to do this?

I know that the client machines will prioritise any local account over a network account, but I think I probably need to reset permissions / ownership of the home folder to do this properly. I heard there may be an existing procedure for this and wonder if anyone can explain or attach it?

Question by:mr-gadget
LVL 28

Expert Comment

ID: 35738509
Take a look at the following:  http://www.experts-exchange.com/Apple/Operating_Systems/Q_23544818.html

I used this technique to do what you are suggesting going the other direction and I would imagine that it would also work to go the direction you are trying to go as well.
LVL 32

Expert Comment

ID: 35745295
The first thing is that you should not have a local and network account that have the same names.

Next, to migrate the account, create the local account from the system preferences. After the account is created, I would use the ditto command to copy the data between user home folders, followed by the terminal command chown -Rfv <owner> </filename>

Author Comment

ID: 35746235
Thanks for the suggestion. I did consider doing that but it seems like a lot of copying when the home folder is already there. I just want to make sure that the right ownership and permissions are assigned.

Thanks also... why should you not have a local and network account that have the same names? My understanding is that the Mac will simply use the local account in preference to the network one. So, if I'm planning to stop using the network account, other than for file-server and email authentication there shouldn't be an issue?

Virtually all the Macs I want to change have mobile accounts, so there's already a home folder on the local drive.

To put this into context...
There have been endless sync problems with mobile accounts since long before I joined this company and now we have a server performance problem too (http://www.experts-exchange.com/Apple/Operating_Systems/OS_X/OS_X_Server/Q_27031186.html)

...so I'm considering taking network accounts out of the equation completely for the time being, perhaps to reintroduce them at a later date.

Accepted Solution

mr-gadget earned 0 total points
ID: 35822884
It seems there is an easier way to do this.

• Delete the mobile user account for [username] on the local machine.
• Rename the mobile user home folder from [username].deleted to [username]
• Create new local account called [username]
• Accept the option to use the existing home folder for [username]

Job done.

This seems to be working for me without any apparent problems.
LVL 71

Expert Comment

ID: 36009039
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
Learn about cloud computing and its benefits for small business owners.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question