Linux – /etc/sudoers – Insults – How to add a list of insults

linuxsudo

I intend to play with the linux insults and add a few. However, i only could figure how to add a single insult but not a list or the location of the file that contains the insults.

Best Answer

To edit the list of insults, you will need to edit the source and recompile.

The insults are stored in plugins/sudoers/ins_*.h (4 files). If you add a new file, you will need to add its definition to plugins/sudoers/insults.h. That's it.

Related Question