sudo-touchid
sudo-touchid copied to clipboard
Apple Watch?
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?
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).
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
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