Trying to tweak my sudo configuration

so I am trying to tweak my sudo configuration(sudo visudo -f /etc/sudo.conf) but unfortunately the following errors appeared ???

/etc/sudo.conf:16:22: syntax error
Plugin sudoers_audit sudoers.so error_recovery=true
                     ^~~~~~~~~~
/etc/sudo.conf:81:22: syntax error
Set disable_coredump false
                     ^~~~~
/etc/sudo.conf:123:41: syntax error
Debug sudo /var/log/sudo_debug all@debug, all@crit, all@err, all@warn, all@notice
                                        ^
/etc/sudo.conf:124:50: syntax error
Debug sudoers.so /var/log/sudoers_debug all@debug, all@crit, all@err, all@warn, all@notice
                                                 ^

Please note that i tried reading the manual of sudoers(5) and sudo.conf(5) but nothing helped with these errors


visudo is not intended for editing sudo.conf. It works only with sudoers file (and files using sudoers syntax).

For sudo.conf use any editor, for example :

sudoedit /etc/sudo.conf