I have an user:group that have a custom defaults configuration file that satisfies visudo -c -f /etc/sudoers.d/my_custom_file.However when I run su user and then sudo -l I see the complete list of default defaults followed by the ones I have added in my_custom_file.Some of this values are opposed, like requiretty (default) and !requiretty (the special one) or env_reset and !env_reset. Since the ones in /etc/sudoers are parsed first, the new ones I apply do not take effect.How can I make this user or even better, user:group ignore the default defaults from /etc/sudoers?
Ignoring sudoers defaults
sudo;sudoedit