As you know, the recommended way for editing the/etc/sudoers file is with visudo. Visudo opens the /etc/sudoers file with the default text editor, and warns you if you save code with errors. Visudo reads the SUDO_EDITOR, VISUAL and EDITOR variables,…