Cloning Macs

From ITS Wiki

Jump to: navigation, search

Copying a user folder to the default user folder

  • As the source user, open Keychain Access and delete the login keychain item
  • As a user with administrative privileges, open up Terminal.app
  • Type in the following commands, where <USERNAME> is the source user's login name
$ sudo su
Enter your password: **********
$ cd /System/Library/User\ Template/
$ sudo ditto -rsrcFork English.lproj/* English.lproj.bak
$ sudo rm -rf /System/Library/User\ Template/English.lproj/*
$ sudo cp -R /Users/teacher/* /System/Library/User\ Template/English.lproj/
$ sudo chown -R root English.lproj
$ sudo chgrp -R wheel English.lproj
  • Run Disk Utility and repair permissions on the local drive


Cloning Macs

MacClone.png