nudge icon indicating copy to clipboard operation
nudge copied to clipboard

PrivilegedHelper

Open erikng opened this issue 4 years ago • 8 comments

  1. Would allow us to possibly help companies with standard users
  2. Would be required to fulfill https://github.com/erikng/NudgeSwift/issues/34

erikng avatar Feb 07 '21 06:02 erikng

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

erikng avatar Feb 09 '21 15:02 erikng

will need https://github.com/erikng/NudgeSwift/issues/53

erikng avatar Feb 09 '21 15:02 erikng

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.

smithjw avatar Feb 12 '21 03:02 smithjw

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.

abstertee avatar Feb 12 '21 16:02 abstertee

@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.

erikng avatar Mar 24 '21 18:03 erikng

@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.

abstertee avatar Apr 06 '21 19:04 abstertee

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.

holzhannes avatar Jan 05 '22 20:01 holzhannes