Rigox2002

Q: Having to run "Mac setup" everytime user login

I have a Mac Pro 5,1 running the latest version of OS Mavericks. I have a total of 3 users including myself on this computer. The issue I am having is that every time one of the users logs in they have to run through "Mac Setup" where they have to enter their apple id and all that before they are transffered to their desktop. How would I fix this so this user does not have to keep doing this every time they login?

Mac Pro, OS X Mavericks (10.9.5)

Posted on Sep 20, 2014 9:46 PM

Close

Q: Having to run "Mac setup" everytime user login

  • All replies
  • Helpful answers

  • by Linc Davis,

    Linc Davis Linc Davis Sep 21, 2014 2:42 PM in response to Rigox2002
    Level 10 (208,000 points)
    Applications
    Sep 21, 2014 2:42 PM in response to Rigox2002

    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 is not, in itself, a solution.

    First, empty the Trash, if possible.

    Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combinationcommand-C:

    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy

    Launch the built-in 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.

    Paste into the Terminal window by pressing command-V. 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 the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.

    The Terminal window doesn't show the output. Please don't copy anything from there.

  • by Rigox2002,

    Rigox2002 Rigox2002 Sep 27, 2014 8:19 PM in response to Linc Davis
    Level 1 (0 points)
    Sep 27, 2014 8:19 PM in response to Linc Davis

    Hello Linc,

     

    Sorry it took me so long to reply I followed your instructions and I got the following number: 358

     

    What does that number mean?

  • by Linc Davis,

    Linc Davis Linc Davis Sep 28, 2014 9:49 PM in response to Rigox2002
    Level 10 (208,000 points)
    Applications
    Sep 28, 2014 9:49 PM in response to Rigox2002

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock those files and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.

    Back up all data before proceeding.

    Step 1

    If you have more than one user, and the one in question is not an administrator, then go to Step 2.

    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):

    sudo find ~ $TMPDIR.. -exec chflags -h nouchg,nouappnd,noschg,nosappnd {} + -exec chown -h $UID {} + -exec chmod +rw {} + -exec chmod -h -N {} + -type d -exec chmod -h +x {} + 2>&-

    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.

    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.

    Step 2 (optional)

    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.

    Start up in Recovery mode. When the OS X Utilities screen appears, select

              Utilities Terminal

    from the menu bar. A Terminal window will open. In that window, type this:

    res

    Press the tab key. The partial command you typed will automatically be completed to this:

    resetpassword

    Press return. A Reset Password window will open. You’re not going to reset a password.

    Select your startup 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.

  • by macobs30,

    macobs30 macobs30 Aug 16, 2015 5:14 AM in response to Linc Davis
    Level 1 (10 points)
    Mac OS X
    Aug 16, 2015 5:14 AM in response to Linc Davis

    Thank you for this guide!

     

    I am having the same issue with my sun's account. We have an iMac with three accounts on Yosemite (10.10.5). Two for the kids (with parental controls) and one for the parents. Only one kid has this "Mac Setup" issue every time he is logging in ...?!

     

    Do I need to run the terminal commands from the kid's account or the parental account?