SAP / macOS-enterprise-privileges

For Mac users in enterprise environments, this application gives users control over the administration of their machine by elevating their level of access to administrator privileges on macOS. Users can set a timeframe in the application's settings to perform specific tasks, such as installing or removing an application.
Apache License 2.0
1.4k stars 150 forks source link

Provide reason to PrivilegesCli --add #104

Closed onlywei closed 3 months ago

onlywei commented 3 months ago

Right now, when using PrivilegesCli --add, it prompts the user for the reason for needing admin rights. Our organization sets this to need at least 10 characters.

I want to provide this reason in a single line without prompting the user. Something like:

PrivilegesCli --add "this is my reason"

Is this possible?

mthielemann commented 3 months ago

This is not possible at the moment.