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

Standard user gets prompted for admin credentials when opening Software Update preference pane #12

Closed
bp88 opened this issue Mar 26, 2020 · 0 comments

Comments

@bp88
Copy link
Owner

bp88 commented Mar 26, 2020

Because the open command is running as the user running the script (root), the preference pane will request admin credentials when opened by this script in 10.15. This can be resolved by using launchctl to launch the Software Update preference pane under the correct user context.

bp88 added a commit that referenced this issue Mar 26, 2020
Added power check for situations where user has no more deferrals and the CLI install of software updates will be forced.
@bp88 bp88 closed this as completed Mar 26, 2020
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

1 participant