Skip to main content
Solved

Help - imaging 10.9

  • June 23, 2014
  • 20 replies
  • 51 views

Forum|alt.badge.img+3

When we open google chrome and safari after imaging, we get a message "keychain can not be found to store chrome". We do not get this message when logged in the admin side only the user side. On the user side there is nothing stored in their keychain. How can we fix this?

Best answer by pblake

@ssrussell - That is a really good point.
@cherylfletcher - I would check all the packages in composer that you are installing. One of them must have /Library/Keychain/ in it, and you are passing FUT on it corrupting your user keychain.

That is my guess.

20 replies

Forum|alt.badge.img+13
  • Contributor
  • June 23, 2014

Are you using network based accounts?

I had that happen when the binding settings in Directory Utility were not set correctly. Under 'advanced options' we needed 'Create Mobile Account at Login.' This gave the account somewhere to store a keychain. It will also allow a user to login if the workstation is offline.


Forum|alt.badge.img+11
  • Contributor
  • June 23, 2014

I agree with @jennifer_unger.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 23, 2014

Sorry we are not using network or mobile accounts. Just a local standard account. thanks


russeller
Forum|alt.badge.img+16
  • Valued Contributor
  • June 23, 2014

Do you modify the Default User Template under ```
/System/Library/User Templates/
``` in your image? Mavericks can be touchy about modifying the keychain there... This thread might help:https://jamfnation.jamfsoftware.com/discussion.html?id=7462

How are you setting up your default user template?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 23, 2014

We did not edit the user template.


Forum|alt.badge.img+13
  • Contributor
  • June 23, 2014

Have you tried just deleting the login keychain and creating a new one?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 23, 2014

Yeah - we tried but it is locked and the admin, user or any password will not open it.
Weird


Forum|alt.badge.img+9
  • Contributor
  • June 23, 2014

Did you try to delete it from the Keychain Access App or the Keychian Folder?

You should be able to delete it from the ~/Library/Keychains/ folder with any admin account. After throwing it in the trash restart the system and let the user log back in. This should create the new one and then allow you to empty the trash with the old one in it.


Forum|alt.badge.img+9
  • Contributor
  • June 23, 2014

@cherylfletcher, how did you capture your Mavericks image? Are you using an AutoDMG, Composer, or the OS that came with the machine? Depending on how you captured it may be a key in determining this rather odd issue.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 23, 2014

We will try your suggestion nwiseman and post soon. Ahambridge - we used an autodmg to capture Mavericks iamge.


russeller
Forum|alt.badge.img+16
  • Valued Contributor
  • June 23, 2014

How did you package chrome? Did you happen to capture a keychain in the chrome package?


Forum|alt.badge.img+11
  • Contributor
  • Answer
  • June 23, 2014

@ssrussell - That is a really good point.
@cherylfletcher - I would check all the packages in composer that you are installing. One of them must have /Library/Keychain/ in it, and you are passing FUT on it corrupting your user keychain.

That is my guess.


Forum|alt.badge.img+9
  • Contributor
  • June 23, 2014

+1 to @ssrussell's suggestion, and I believe he and @pblake are on the right track.


Forum|alt.badge.img+12
  • Contributor
  • June 23, 2014

Who owns the users files?

find /Users/[username] ! -user [username] -exec ls -al {} ;

Does the user own their own login keychain or is it owned by someone else, eg. root?
Do you also have a com.apple.security.plist file also owned by root in the users home account, for example?

If you open Keychain Access from Utilities and in Preferences select Reset My Default Keychain, does this help? Does this remove the above mentioned files if they existed?


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 23, 2014

This is happening on any program that uses a keychain. If we go to ~/library the user doesn't have a keychain folder. We made a new base image and are still having the same problems. If we go into the application, utilities, keychain access - it seems to be locked. It also doesn't have a login keychain on the left side where is usually does. It has local items, system and system root. We can not unlock it or anything - passwords we have for user, admin and etc do not work?

Also everytime we login the user, the setting up your mac after login comes up. Everytime the user logs in.


Forum|alt.badge.img+11
  • Contributor
  • June 23, 2014

@cherylfletcher - Are you installing anything besides the base image? If you are installing any packages, please list them. I still think one of those packages has something in /Library/Keychains/ and that the package is set to FUT. Meaning it is taking a keychain file and replacing the one in the User Template.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 24, 2014

Yes we are installing office and we were filling FUT. We are making a new image again with office on it - we will post our results.


Forum|alt.badge.img+11
  • Contributor
  • June 24, 2014

@cherylfletcher - Before you even create the new Office image. Just drop the base image on a machine with no apps. See if you can login and have no keychain issue. If you can, then you have just proved the Office is the culprit. If you still have the issue, then it is not Office.


Forum|alt.badge.img+10
  • New Contributor
  • June 24, 2014

how are you creating the standard user accounts? Through the accounts system control panel? or are you using a script/package to create the local account?

does this occur for only the first local account created on the machine or for every local account?

I agree with the others above, if the base image is being created with autoDMG then it has to be an item that is being installed after this that is causing the problem, i'd try removing all packages and scripts from your configuration/workflow and trying them one by one until you find the culprit


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • June 24, 2014

OK- it was the office that was causing the problems. Once we redid that package - we are good to go. thanks everyone