9 Replies Latest reply: Jan 18, 2016 9:39 AM by isaacfrommonroe
cationic Level 1 (130 points)

When I power up my iMac I get a dialogue box stating that appleidauthagent wants access to a key chain that I do not even have on the computer anymore. I usually hit "Cancel" or waith a minute or so and the dialogue goes away. I am not sure if this causes any problems, but at the very least it is very annoying.

 

Is there a way to keep this from happening?

 

Thanks!


iMac, Mac OS X (10.7.2)
  • leroydouglas Level 6 (17,757 points)

    cationic wrote:

    a key chain that I do not even have on the computer anymore.

     

    What does this mean?

  • léonie Level 10 (90,501 points)

    The appleidauthagent is one of the Core Services installed in the System Library. It is used to check the validity of Apple ID certificates and if these certificates can be trusted. The only way to stop it from asking is to allow the access to your key chain.

  • azdawg99 Level 2 (320 points)

    It sounds as though you have something running on startup that needs to login to your Apple ID. Check System Prefs/Accounts/Login Items and see if you notice anything there that doesn't need to be there.

  • cationic Level 1 (130 points)

    I used to have an extra keychain, which I created in the keychain.app, in addition to the default one ("login") that was created by the system initially. After I upgraded to Lion, I moved all the info in this extra keychain to the default one, and made sure its password matched my user password. This works well for all cases where the keychain needs to be accessed by an application or service, except for the above-mentioned "appleidauthagent".

  • cationic Level 1 (130 points)

    Thanks, leonie. The problem is that it wants to access a key chain that I no longer have. I used to have two key chains, the default one ("login") and an extra one ("UserName"). After I upgraded to Lion, I moved all the info in the key chain "UserName" into "login" and deleted "UserName". This worked fine for all services and applications, except for "appleidauthagent".

  • sunqi Level 1 (0 points)

    I also encountered the same problem after upgrade v10.7.4 lion.I do not know how to solvethis dialog box is really annoying.

  • ERIS Corp Level 1 (5 points)

    We had the same problem here after the upgrade to 10.7.4.  Here's what resolved the issue:

     

    1. Logged-in as root user
    2. Applications->Utilities->Keychain Access->Preferences
    3. Reset Default Keychain
    4. Reboot

     

    I actually ran into one problem with this, "Reset" failed with an "Could not obtain authorization for this opperation" error and left me w/o a login keychain (If you encounter this, please report a bug here); however, running "Keychain First Aid" fixed that.

     

    Ray

  • Bazza McKenzie Level 1 (0 points)

    I tried your fix but still didnt stop the popup - however I had to remove the following files as well

     

    ~/Library/Preferences/ByHost/com.apple.DotMacSync*.plist.lockfile
    ~/Library/Preferences/ByHost/com.apple.idisk*.plist
    ~/Library/Preferences/ByHost/com.apple.idisk*.plist.lockfile
    ~/Library/Preferences/MobileMeAccounts.plist
    ~/Library/Preferences/MobileMeAccounts.plist.lockfile
    ~/Library/Prefernces/ByHost/com.apple.coreservices.appleidauthenticationinfo*.plist
    ~/Library/Prefernces/ByHost/com.apple.coreservices.appleidauthenticationinfo*.plist.lockfile

     

    and then rebooted computer

     

    I believe it is to do with remnant files from mobileme.com, mac.com and iDisk

     

    problem now solved

  • isaacfrommonroe Level 1 (0 points)

    When this issue popped up on the 3rd Mac in our company, i decided to get down and tackle this once and for all.

     

    It was always an issue with something in the root account. from a bad keychain password, to a simply corrupt keychain.

     

    Assuming you dont have anything meaningfull inside the root account, simply use the dsenableroot command from terminal, and the problem is solved.

     

    dsenableroot -d (disables/deletes the root account

    dsenableroot (re-enable a clean root account - given that you want one enabled)