4 Replies Latest reply: Dec 9, 2012 9:08 AM by Coriolanus
Coriolanus Level 1 Level 1 (0 points)

First off, here's part of the issue I'm having:

 

https://discussions.apple.com/message/19115908#19115908

 

However, the step recommended did not solve my problem. I have two accounts ADMIN and USER on the machine. ADMIN works flawlessly. No issues so far over the last four months since upgrading to Mt. Lion. USER on the other hand has two major issues. 1) No matter how many times it's entered the apple ID request shows up when you login. As noted above, I have tried that fix and it didn't work. 2) Once getting past entering all the info - whether skipping or entering it doesn't appear to matter - the machine doesn't appear to be holding user system preferences. I'm not a fan of the new 'natural' scrolling so I turn it off. But if you log out and log back in or restart the settings are lost when you get back in.

 

I use MainMenu to do a lot of cleanup/maintenance stuff so I've tried clearing caches, deleting corrupt preferences, reparing disk permissions.

 

Sort of at a loss and really don't want to have to reinstall the OS to fix what is most likely very simple but just not easy.

 

Thanks.


MacBook Pro, OS X Mountain Lion (10.8.2)
  • 1. Re: Account login, apple id and system preferences vaporizing
    Linc Davis Level 10 Level 10 (117,700 points)

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.

    First, empty the Trash.

    Launch the Terminal application in any of the following ways:

    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

    ☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.

    Triple-click anywhere in the line below to select it, then drag or copy it — do not type — into the Terminal window:

    find . $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l

    Press return. The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.

    The output of this command, on a line directly below what you entered, will be a number such as "35." Please post it in a reply.

  • 2. Re: Account login, apple id and system preferences vaporizing
    Coriolanus Level 1 Level 1 (0 points)

    Thank you for the quick reply.

     

    The number I got was:

     

    34087

  • 3. Re: Account login, apple id and system preferences vaporizing
    Linc Davis Level 10 Level 10 (117,700 points)

    Back up all data now.

    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. If none of this is meaningful to you, you don't need to worry about it.

     

    Step 1

    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.

    Drag or copy — do not type — the following line into the Terminal window, then press return:

    sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null

    Be sure to select the whole line by triple-clicking anywhere in it. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command.

    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.

    Step 2

     

    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.

    When the OS X Utilities screen appears, select Utilities Terminal from the menu bar. A text window opens.

    In the Terminal window, type this:

    resetpassword

    That's one word with no spaces. Then press return. A Reset Password window opens. You’re not going to reset a password.

    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.

    Select your username from the menu labeled Select the user account if not already selected.

    Under Reset Home Directory Permissions and ACLs, click the Reset button.

    Select  Restart from the menu bar.

  • 4. Re: Account login, apple id and system preferences vaporizing
    Coriolanus Level 1 Level 1 (0 points)

    That seems to have done the trick! Thank you very much for you help. Your instructions were very clear and straight to the point.

     

    Michael