• On CHOW: Is it OK to sneak popcorn into a movie?
advertisement
January 23, 2006 8:10 AM PST

Tutorial: Common workaround -- create a new user account

by CNET staff
  • Font size
  • Print
  • 6 comments

One of the most consistently successful workarounds for eliminating a broad group of problems under Mac OS X is the creation of a fresh user account.

The problems that can necessitate creation of a new user account are many, but usually involve corruption or some other conflict caused by a file in the User Library folder (~/Library) -- particularly a problematic .plist file, font, or kernel extension.

Creating a new account is easy enough -- simply open the "Accounts" pane of System Preferences, click the padlock and enter your administrator password, then press the " " (plus) button to create the new user. You'll probably want to check the box for "Allow this user to administer this computer" at first, then uncheck it when you've made the necessary changes (Using a non-administrator account for day-to-day tasks is recommended for security purposes).

Next you will want to delete the old, corrupt user account while retaining the data that you would like to transfer into the new, working account.

Login to your new administrator account using the password you specified, and again go to the "Accounts" pane of System Preferences. This time, select the old account and click the "-" (minus) sign at the bottom. Click the "OK" button (do not click "Delete Immediately).

The old user account will be deleted, and all of the information, documents, and preferences for that user will be stored in a disk image (.dmg) file -- located in the "Deleted Users" folder of the Users directory (/Users/Deleted Users/). Mount this disk image, and begin the somewhat tricky process of transferring your personal preferences and data into the new user directory.

Here are a list of places you will want to check for files to move. As we note below, you may not want to transfer one or more of these folders if the problem you were experiencing is specific to the associated application. For instance, don't move the Keychains folder if you were having a problem with passwords before creating the new user account. In fact, you may want to move these folders one at a time, then logout and back into your account to check for persistence of your prior problem -- a tedious but worthwhile process.

  • "Documents" -- You can safely move pretty much anything in this folder to your new user directory without worry of causing the same problems that affected the old account, except for items that are used by some third-party applications and may be corrupt (Microsoft Office User folders, for instance).
  • ~/Music/iTunes -- This is where all of the old user's music is stored. Unless you were having a problem with iTunes that you think might be caused by a corrupt music or other media file, you can copy the entire folder to the new user account.
  • ~/Pictures/iPhoto Library -- These are all of the old user's photos. Again, unless you were having a specific issue with iPhoto, you can safely transfer this entire folder to the same location in the new user account.
  • ~/Library/Application Support/AddressBook -- All of your Address Book contacts. A problematic contact can cause issues with Mail.app, iCal and the Address Book application, so check for problems after copying this folder.
  • ~/Library/Keychains -- All of your passwords. Transfer the whole folder unless you were having an issue with passwords before the transfer.
  • ~/Library/Mail -- If you regularly use Mail.app, you will need to transfer this entire folder in order to retain download mail data
  • ~/Library/Preferences/com.apple.mail.plist -- Again, if you use Mail.app, transfer this file which contains all mail account settings and other preferences. Be careful though -- if you were having a problem with Mail.app before the transfer, this file may be corrupt.

Scour your ~/Library/ folder for any other Application Support or other files that you need to transfer, but remember to check for persistence of the problem after re-adding each item.

Problems logging into the new account In some cases, you may have issues with booting into your new account. The solution in many cases is to startup from your retail Mac OS X 10.4.x Tiger DVD (hold the "c" key at startup while the disc is inserted) and use the "Reset Password" utility to set the password on the newly created account.

Examples of problems that can be resolved by creation of a new user account Here are a few recent examples of instances where the creation of a fresh user account resulted in resolution of a given issue.

iDVD 6.0 gets stuck at the "Loading Themes" phase -- seems to be a problem with theme corruption on the current account

Slow login process -- after entry of the user login and password, an inordinate amount of time passes before the appropriate user desktop appears.

Alternative to creating a new user account As a less intrusive alternative to creating a new user account, you can go through the tedious process of checking the User Library folder for potentially problem-causing files.

The process is as follows:

  • Move your User library folder (~/Library) to a different location, such as the Desktop
  • Log out of your account, then log back in. A new user library folder without any customization you may have performed will be created.
  • Perform the task that was previously causing issues (e.g. launching an application, etc.), which should now work as expected.
  • Move a few folders from the old user Library folder (on your Desktop, or wherever you placed it) back into the new Library folder.
  • Again, log out and back in.
  • Perform the task that was previously causing issues and check for persistence of the issue.
  • Repeat steps 4-6 until the problem returns. At this point you will have narrowed down the potential culprits. When a batch of folders causes the problem to return, examine the just re-added folders for user added elements that could be causing the issue, and eliminate them.
Feedback? Late-breakers@macfixit.com.

Like what you've found in this tutorial? Get more troubleshooting guidance (updated daily) by subscribing to MacFixIt Pro.

Resources

  • iDVD 6.0 gets stuck at the "Loading Themes" phase
  • Late-breakers@macfixit.com
  • subscribing to MacFixIt Pr...
  • More from Tutorials
  • Recent posts from MacFixIt
    iTunes 9.0.3 breaks AirTunes connection for some
    Apple releases Aperture 3.0
    Manage iCal's automatic e-mail generation for invitations
    CNET TV Apple Byte: Apple faces critics
    Weekly Utilities Update: Net Monitor, MiniUsage, TimeMachineEditor, more...
    Odds and Ends: Essential video codec packs for OS X
    Address Book: Unable to add, view contacts
    Persistent 'Faster Browser Search' overtaking Safari's default search
    Add a Comment (Log in or register) (6 Comments)
    • prev
    • next
    by kent1 January 23, 2006 2:04 PM PST
    Sounds very similar to the old Conflict Catcher days of OS 9 !
    That was an autmated version of what you are suggesting here!
    Ken

    ---
    DocOnMac
    Reply to this comment
    by JohnWBaxter January 23, 2006 2:04 PM PST
    >
    This is a reply to a previous comment by kent1


    Conflict Catcher was necessary in the bad old days of Mac OS 9 and below
    (particularly 8.5 and below, and particularly on 680x0 machines) because
    those
    versions insisted on corrupting themselves so often. Plus there were actual
    conflicts amongst the many "must have" add ons (almost none of which I
    had).

    One can drive a Mac OS X machine for years without having to do this, even
    starting as I did with the problematic 10.0 original release.

    It is none-the-less good to know how (or to have a high-school student down
    the block who knows).

    --John (used Macs starting in 1984, when one stuffs extensions into the
    System file itself, until the one with ID 31 was created)
    Reply to this comment
    by Pascal Lessard January 23, 2006 2:56 PM PST
    Even before doing all this, one should restart the Mac pressing the shift key
    as
    soon as the start-up sound is heard. This will start the Mac is safe mode,
    prompting the OS to check the disk, then the OS moves to the trash a great
    number of cache files.

    For me, this method has "saved the day" twice (the only 2 times I've had a
    problem with Mac OS X in recent years).

    Once this done, one should use a utility like Onyx to check the integrity
    of .plist files.

    Then, and only then, the method shown above should be used. Most of the
    time, though, the problem will be gone by then.
    Reply to this comment
    by Dave Riker January 24, 2006 7:35 AM PST
    I believe this "Tutorial" is misleading because it totally ignores the issues of
    having to change permissions after you move the Documents and other user-
    specific items from one account to another.

    This can be a tricky and time-consuming process. Without root access, or
    without the use some type of 3rd party Utility (like BatChmod) it may take a
    LONG time. Also, if anyone has ever used the Finder's file-info window to
    "lock" a file, most batch-type permissions modifiers cannot change that file's
    ownership, necessitating that the user takes time to find each and every one
    of these files and unlock them.

    It's nowhere near as easy as this write-up would lead one to believe.
    Reply to this comment
    by January 24, 2006 8:14 AM PST
    I always have a "dummy" account live on a machine so I can log on in a different account and check to see if the preferences are the problem. Fortunately, only needed it once. Fixed it by the brute force technique of clearing stuff.
    Reply to this comment
    by tassgrubber November 18, 2008 7:41 AM PST
    In troublshooting there are to actions that are your best friends; rebooting and creating new user profiles. I would not waist more than 10 15 minutes on a problem before i create a new user profile. There are just so many things that could be wrong with a profile. There are just too many potentials to make it worth tracking them all down. Baseball Bats For Sale Cheap Baseball Bats
    Reply to this comment
    (6 Comments)
    • prev
    • next
    advertisement
    Click Here

    About MacFixIt

    MacFixIt is CNET's troubleshooting resource for all things Mac. The information here helps you navigate the ins-and-outs of Mac ownership with how-tos, troubleshooting information, news, reviews, and more.

    Add this feed to your online news reader