Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keychain GUI appears if an account other than the logged-in account is used to authenticate. #39

Closed
rtrouton opened this issue Aug 19, 2015 · 3 comments

Comments

@rtrouton
Copy link

I'm seeing an issue where, if I'm logged into a user account and click on a lock in System Preferences, then log in using another account's admin credentials, the Keychain Minder GUI pops up.

To reproduce:

  1. Set up two accounts, where one has admin rights and the other does not.
  2. Log in as the account that does not have admin rights.
  3. Open System Preferences
  4. Click a lock
  5. Log into the authentication dialog using the account with admin rights' credentials.

Expected behavior:

A. Lock unlocks
B. Keychain Minder GUI does not appear

Observed behavior:

  1. Lock unlocks
  2. Keychain Minder GUI appears.

Note: I was also able to reproduce the behavior when both accounts had admin rights, but I figured the above scenario was the more common of the two.

@tburgin
Copy link
Contributor

tburgin commented Aug 19, 2015

You may be able to check the session owner with:

err = mechanism->fPlugin->fCallbacks->GetHintValue(mechanism->fEngine, "suggested-user", &value);

@pleasego2help
Copy link

Quick question relating to your above No users with uids under 501...

As of Yosemite we switched from sub-501 accounts due to it causing (migration, ARD) issues, and since Apple updated their support page (removing sub-501 instructions) for Yosemite+, instead using 'dscl... IsHidden'. (I discovered the topic when I started using Yosemite+ 'sysadminctl' when creating local admin in deployment.)

Original dev post (devforum login required, slightly humorous)
Further Details from MagerValp discussion using createuserpkg

(I apologize if this is out of context - please ignore if it is.)

@russellhancox
Copy link
Contributor

This issue was moved to google/macops-keychainminder#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants