Mac Os X: how to create a default user setup
 
10/12/2005 - 15:56 (Category: Mac Os X)

You can create a default user setup. That's helpful to create a new user or even to restore an old one (in case an improbable virus catch you!). Whenever you add a new user by using System Preferences (Accounts pane), Mac Os X creates a default directory structure identical to that is located here:

/System/Library/User Template/english.lproj (or your_language.lproj of course)

the trick is using a customized directory structure, as well as setting up default preferences of most used applications in order to create a default user set up. You could also use your customized set up to restore your account in case of big damages. Let's see:

1) open System Preferences -> Accounts
2) add a new user
3) arrange the new user home directory as you wish
4) run most used applications and set up their preferences
5) log out and log in as an administrator
6) open Terminal (Applications -> Utilities ->Terminal.app)
7) type: sudo mv /System/Library/User\ Template/English.lproj /System/Library/User\ Template/English.lproj.old (this is a backup copy in case something goes wrong)
8) type: sudo cp -R /Users/new-user-short-name /System/Library/User\ Template/English.lproj

Done!

Go back

DISCLAIMER:
Any named products on this website are copyright © and/or trademarks ® of their respective companies. INFORMATION ON THIS WEB SITE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. The material included in this site has been compiled from a variety of sources and the site may include technical inaccuracies or typographical errors. Information may be changed or updated without notice. While every effort is made to ensure the correctness of the information provided here, the author can accept no responsibility for damages caused directly or indirectly from the use of such information. The author will not be responsible for damage or loss of data. You are advised to backup data regularly! By entering this site you are agreeing to this and also to never suing the author.

 

Home  About  Mail us!  

Copyright © 1998-2006 Wowarea