Customize the sudo “this incident will be reported” message

sudo

Is it possible, on Linux or on BSD systems, to customize the sudo "this incident will be reported" message? I've gone over man sudo and man sudoers on an Ubuntu 16.04 machine, a FreeBSD 10.2 machine, and a Fedora 23 machine, and I haven't found anything useful.

Best Answer

From Sudoers Manual below is the only message you are allowed to configure with the sudo conf.

badpass_message="Sorry, try again."

However to answer your question you are more than welcome to compile your own copy of sudo.

This would be the message you are getting.

Related Question