Salut
sudo -i c'est sudo et bannir un parametre ça va pas être facile
d'apres
https://www.sudo.ws/man/1.8.3/sudo.man.html
et
https://www.sudo.ws/man/1.8.3/sudoers.man.html
sudo -i est de plus un cas spécial
As a special case, if sudo's -i option (initial login) is specified, sudoers will initialize the environment regardless of the value of env_reset. The DISPLAY, PATH and TERM variables remain unchanged; HOME, MAIL, SHELL, USER, and LOGNAME are set based on the target user.
peut etre journaliser tout en indiquant dans /etc/sudoers
Defaults log_input
ce qui créé une arborescence sudo-io dans /var/log
pour voir toutes les options en cours, dans une fenêtre terminal root
sudo -V