How do I remove the password for sudo commands?
I've set up two commands that enable and disable my keyboard so I can set things on top of it and still use the screen. However, the commands require the sudo password. According to what I've read, I need to edit the Sudoers file using the "sudo visudo" command in terminal. I've figured out how to open in, but I'm having trouble figuring out how to edit it. I changed "%admin ALL=(ALL) ALL" to "%admin ALL=(ALL) ALL NOPASSWD: ALL" but I can't figure out how to save the file.
MacBook Pro 13", macOS 10.15