DEV Community

Discussion on: How to allow Touch ID to authenticate for Sudo commands on Mac

Collapse
 
banyek profile image
Balazs Pocze

Never ever edit /etc/sudoers with text editor, because if you mess up something you will be locked out. use
sudo visudo
instead. Doesn't allow to save bad config.
It will use your editor set in the $EDITOR environment variable.

cheers!

Collapse
 
thamaraiselvam profile image
Thamaraiselvam

Thanks for the heads up 👍