<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Create a Custom Default User Profile for OS X 10.7/10.8

Published on
11,793 Points
5,693 Views
1 Endorsement
Last Modified:
Approved
Create a default user profile for Mac OS X 10.7/10.8

Create a user account on OS X that will be a template for every other user of that computer. I usually call it “profile” and make it an administrator account for the time being.

1. Install and configure all applications as desired. It is important to run each program under the profile account. This will skip many of the annoying first-run prompts users will see with things like iCloud and Mozilla Firefox. Be patient with this step and take as much time as it needs.

At this point, a substantial amount of work has been invested in the Mac. I take some time to backup the work and create a disk image of the hard drive.

2. Make the “Profile” account the default profile for all users on the Mac.

3. While logged-in as “Profile”, empty the trash and delete the application caches along with "Profile's" login keychain.

4. Enable the built-in root user account, from the Directory Services console.

5. Log in as the root user (Be very careful while using the root user account).

6. Show all files in the Finder
Terminal.app / sudo defaults write com.apple.Finder AppleShowAllFiles YES

Open in new window

7. Also from the terminal, make a backup copy of the existing default user profile
cp -R /System/Library/User\ Template/English.lprog/ /System/Library/User\ Template/English.orig

Open in new window

8. Remove the current contents of the default user profile
sudo rm -rf /System/Library/User\ Template/English.lproj/*

Open in new window

9. Copy “Profile’s” profile to the default
sudo cp- R /Users/profile/* /System/Library/User\ Template/English.lproj/*

Open in new window

10. Reboot and try logging on as a user that does not already have an existing user profile. "Profile's" desktop, dock and settings should be there for the new user. There should be no prompts for iCloud, or for a keychain password.

11. Once everything is working as it should, disable the root user account. A disabled root user account is one of OS X's more secure attributes.

Since there is a decent amount of work as root and in sensitive areas of the operating system, I encourage the practice of making disk images during various steps of the process. A wrong tick or command, here, can render OS X unstable at best.
1
0 Comments

Featured Post

Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Make it easier to see the current record on your Microsoft Access forms! To highlight the current record with a yellow background color, use Conditional Formatting, a control to keep track of the primary key value, a control to change color, and a l…
I previously published an Experts Exchange video Micro Tutorial that describes how to scan documents to a PDF file using an excellent, free product called Foxit Reader: How to scan to a PDF file with free software (https://www.experts-exchange.co…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month