TIL: Enable sudo without a password on MacOS
For the millionth time, I upgraded macOS to the next major version (Monterey) and I had to search for how to re-enable password-less sudo’ing (don’t judge me.)
-
edit
/etc/sudoerssudo visudo -
Then find the admin group permission section:
%admin ALL = (ALL) ALL -
Change to add
NOPASSWD:%admin ALL = (ALL) NOPASSWD: ALL -
Profit until next year.