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

[Feature Request] - Local Authentication with the PrivilegesCLI #35

Open
geoffrepoli opened this issue Jun 29, 2022 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@geoffrepoli
Copy link

When the RequireAuthentication setting is enabled, PrivilegesCLI will prompt the user to enter their password by passing it through stdin when using the --add switch.

As I am interested, and I'm sure others are as well, in creating custom workflows for temporary, on-demand privilege escalation, the only way to pass the user's credentials to authentication presently is through insecure AppleScript prompts that then passes it in cleartext to the command line.

I'm curious if it's possible (and if so - would love to have this feature realized) to leverage LAPolicy.deviceOwnerAuthentication within the CLI tool to create a prompt identical to the one that appears when requesting privileges through the Privileges GUI

@mthielemann mthielemann self-assigned this Mar 6, 2024
@mthielemann mthielemann added the enhancement New feature or request label Mar 11, 2024
@SAP SAP locked and limited conversation to collaborators Mar 12, 2024
@mthielemann
Copy link
Contributor

This will be implemented in Privileges 2.0.0, which will be available later this year.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants