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

PrivilegedHelper #35

Open
erikng opened this issue Feb 7, 2021 · 8 comments
Open

PrivilegedHelper #35

erikng opened this issue Feb 7, 2021 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@erikng
Copy link
Member

erikng commented Feb 7, 2021

  1. Would allow us to possibly help companies with standard users
  2. Would be required to fulfill add "UMAD" functionality #34
@erikng
Copy link
Member Author

erikng commented Feb 9, 2021

To use a privileged helper tool the application and helper has to be signed by a valid deverloper certificate.

@erikng
Copy link
Member Author

erikng commented Feb 9, 2021

will need #53

@erikng erikng added help wanted Extra attention is needed v2 version 2.0 of Nudge labels Feb 11, 2021
@erikng erikng changed the title PrivelegedHelper PrivilegedHelper Feb 11, 2021
@smithjw
Copy link
Contributor

smithjw commented Feb 12, 2021

This would be a great feature as half my users are Standard users. When there are critical OS Updates available we need a way to get users (Standard and Admin) to upgrade and using the same front-end would lead to a better UX overall.

@abstertee
Copy link

abstertee commented Feb 12, 2021

I've added the logic and code needed for a privileged helper in my forked version here: https://github.com/abstertee/NudgeSwift/tree/main/Nudge-Helper

But we still need an Apple Signing cert and some details from that cert that need to be entered in some of the files.

@erikng
Copy link
Member Author

erikng commented Mar 24, 2021

@abstertee was the privileged helper to run scripts as root? I've done some research on Privileged Helpers and I don't see how they would solve point 1 in this issue.

@abstertee
Copy link

@erikng yes, the idea is that the privileged helper runs the script commands as root. The helper would help companies with standard users because the helper tool runs with root privilege while the app runs under the user's context.

@erikng erikng added enhancement New feature or request proposed A possible enhancement labels Aug 19, 2021
@holzhannes
Copy link

I like the Idea very much. Maybe it is possible to use the tool macOS-enterprise-privileges just to give the user the rights to do a upgrade. For updates it seems to work with standard user rights as well.

@bradtchapman
Copy link

bradtchapman commented Feb 9, 2024

@erikng : now that the executable is properly signed and notarized, and issue #53 is closed (you mentioned it here), can you implement anything like this? Is it still on your roadmap?

SupportApp by Root3.nl has implemented a PrivilegedHelper to execute scripts.

@erikng erikng removed enhancement New feature or request v2 version 2.0 of Nudge proposed A possible enhancement labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants