Go Back  Mac-Forums.com  > Software > OS X - Operating System > OS 10.4 - Copy user profiles (home folders) between users?

Reply
 
LinkBack (5) Thread Tools
Old 10-05-2007, 06:41 AM   5 links from elsewhere to this Post. Click to view. #1 (permalink)
oahu_michael

 
Member Since: Oct 05, 2007
Posts: 4
oahu_michael is on a distinguished road
OS 10.4 - Copy user profiles (home folders) between users?

I am trying to figure out if there is a way to copy all my custom configured user preferences from my current user account to a newly created account? For instance all of my dock/desktop/finder settings, user preferences specific to my account, and of course all my home folder data. Is it as simple as deleting all files/folders within the new users home and then copying all files/folders from the current account? What about hidden files and should this just be done via terminal?

And/or is there a way to configure the default profile settings, such that any new users would have these various user specific settings configured immediately and not require any copying?

As a reference, when doing this on Windows machines I simply edited the registry key named "DefaultUserProfile" located at:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList]

From:

"DefaultUserProfile"="Default User"

To:

"DefaultUserProfile"="Administrator" (or any user profile name I wanted to copy located within CDocuments and Settings\
oahu_michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-05-2007, 08:25 AM   #2 (permalink)
MacsWork

 
MacsWork's Avatar
 
Member Since: May 22, 2005
Posts: 1,487
MacsWork is a jewel in the roughMacsWork is a jewel in the roughMacsWork is a jewel in the rough
Don't copy the forders, Documents, Desktop etc. Just copy the contents.

Ideally you'd do this in target disk mode connected to another mac.
__________________
MacsWork is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-05-2007, 08:34 AM   #3 (permalink)
oahu_michael

 
Member Since: Oct 05, 2007
Posts: 4
oahu_michael is on a distinguished road
Thanks, that would work for just transferring documents/pics etc, but I guess what I'm getting at is how to copy all user preferences? After further research I'm starting to think maybe I can just copy all the .plist files inside of /users/username/library/preferences - I'm about to test this right now on a test account...
oahu_michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-05-2007, 09:18 AM   #4 (permalink)
Smackintosh

 
Member Since: Jan 31, 2005
Posts: 160
Smackintosh is on a distinguished road
you have to enable the root account. once you do that you can log in as root and copy everything from one user account to another. Once that is done change the permissions on the files/folders you just copied (open terminal and type chown -R <new_name> /Users/<new_name>
Smackintosh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-05-2007, 09:21 AM   #5 (permalink)
oahu_michael

 
Member Since: Oct 05, 2007
Posts: 4
oahu_michael is on a distinguished road
Ok success I believe...

-Enabled root account, logged in as root
-Enabled viewing of hidden files (not sure if this is necessary or not)
-Copied all folders within the original user account's home folder to the new user's home folder, excluding the .hidden files as finder would not let them be copied
-Opened "Get Info" on new user's home folder, and clicked "Apply to enclosed items..." and ok/yes to prompt (to ensure all permissions were updated)
-Restarted, logged into new user account and all desktop/dock settings appear to be the same as the old user, and all files are accessible!

Perhaps there is a simple way to do this via terminal but I'm just glad this works as I didn't want to have to configure the settings over and over for each new user.

Now on to see if the same can be done for what I think are the "default user" profile settings found in /System/Library/User Template/English.lproj
oahu_michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Old 10-05-2007, 09:26 AM   #6 (permalink)
oahu_michael

 
Member Since: Oct 05, 2007
Posts: 4
oahu_michael is on a distinguished road
Thanks Smackintosh, I'm assuming running the chown -R <new_name> /Users/<new_name> command via terminal performs the same function as updating the permissions via "Apply to enclosed items..."?

Also do you know anything about changing the profile settings found in /System/Library/User Template/English.lproj? I would like to change some things to a custom default but definitely don't want to mess any of those system defaults up while I'm in there as root?
oahu_michael is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mac-forums.com/forums/os-x-operating-system/79421-os-10-4-copy-user-profiles-home-folders-between-users.html
Posted By For Type Date
You are unable to log in to the user account [name] at this time - Mac Forums This thread Refback 10-20-2008 08:56 PM
Migrate or duplicate user profile? - Hackint0sh This thread Refback 10-10-2008 05:34 PM
need help urgent!can't log into my powerbook! - www.hardwarezone.com.sg This thread Refback 10-02-2008 09:44 AM
You are unable to log in to the user account [name] at this time - Mac Forums This thread Refback 10-02-2008 09:35 AM
Migrate or duplicate user profile? - Hackint0sh This thread Refback 10-02-2008 07:17 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
automount error when mapping users home directory on smb share pnm_uk OS X - Operating System 0 05-14-2007 03:36 PM
Changed Home Folder by mistake!! Hunter OS X - Operating System 2 05-08-2007 08:33 AM
standard troubleshooting Smackintosh OS X - Operating System 0 02-15-2007 11:00 AM
windows XP Home VS. XP Pro coach_z Anything Goes 11 04-11-2006 07:13 PM
Show Item Info inflexion OS X - Operating System 15 10-24-2005 11:34 PM

 
 
 
     
Home Calendar Get New
     

Copyright ©2001-2010 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

Powered by vBulletin
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.