Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Default profile in Lion

I work for a university where we have a computer lab of iMac's. With Snow Leopard I was able to create a default profile for users when they log into the machine by copying a custom profile to the System/Library/User\ Template/English.lproj. I have tried copying from root and using sudo in terminal but when I log into a newly created profile I do not have any of the custom settings. This used to work in Snow Leopard. Does this no longer work in Lion?

Posted on Aug 16, 2011 6:32 AM

Reply
8 replies

Aug 17, 2011 2:33 AM in response to michaelnsheena

I was able to create the default profile for users by copying the custom profile to /System/Library/User Template/English.lproj/


I only copied the Library and Desktop folder with the following commands (as root):


cp -R /Users/default_user/Library /System/Library/User Template/English.lproj/

cp -R /Users/default_user/Desktop /System/Library/User Template/English.lproj/

Feb 6, 2012 11:05 AM in response to Dave Eveland

Here is what I got to work.


1. Enable Root User in Directory Utility Under Settting >> Users.

2. Login as Root User.

3. Unhide Library folders using the terminal comand.

root chflags nohidden "/System/Library/User Template/English.lproj/"

root chflags nohidden /Users/<Username>/Library

4. Go to both folders using the Finder Go Command. Copy and past the folder you want into the default profile. Now visible in /System/Library/User Template/English.lproj/.

5. After copying the Library folder make sure to delete the items in the Keychain folder so the new user does not get a prompted on logon.


I only needed to copy the Library folder as I don't have anything on the desktop or any default documents to populate. This will save me alot time configuring the WorkGroup Manger to get the results I want.

Mar 22, 2012 7:27 AM in response to Darwall

Are you logged into the the Root User while running the commands? You can actually log in as root if you enable the user and change the log in option "Display login windows as:" to "Name and password". You do not need to put root into the command line because it should already be there when you login as it. Sorry I should have not have posted the root portion I just copied and pasted.


chflags nohidden "/System/Library/User Template/English.lproj/"

chflags nohidden /Users/<Username>/Library


Hope that helps!

Default profile in Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.