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

Apple Watch? #6

Open
MikeThomas1 opened this issue Nov 22, 2016 · 3 comments
Open

Apple Watch? #6

MikeThomas1 opened this issue Nov 22, 2016 · 3 comments

Comments

@MikeThomas1
Copy link

The Apple Watch can be used to unlock the mac. Can this tool be updated to include the ability to grant sudo with the Apple Watch?

@kahoover
Copy link

That sounds very unwise. Any rogue process could gain privileges if the machine were simply in unlocked and in use by its owner (if that owner had admin privs).

@alessaba
Copy link

alessaba commented Sep 21, 2019

The pkg installer does it and you are required to double press the side button. I don't think there is a risk. You have to purposefully double tap, it's not automatic

Edit: looks like this is a new feature in Catalina

@alessaba
Copy link

alessaba commented Sep 21, 2019

It's technically possible to do this with a function. Just put it inside .zshrc and you're set
https://gist.github.com/alessaba/58cad7e8eb9650a5bcf5d5c004e171c8

There is one main problem: every process executed by awsudo will be shown as. "osascript", and that's not really safe. if this problem gets solved I may also rename awsudo to just sudo, and there would be no problem I think

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

3 participants