Is it possible to edit this message that someone sees when a sudo command fails due to permissions problems?
1 Answer
Below is the only message you are allowed to configure with the sudo conf.
badpass_message="Sorry, try again."
Reference: http://www.sudo.ws/sudoers.man.html
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 at the link below: http://www.sudo.ws/repos/sudo/file/2c8b222a5f7f/plugins/sudoers/logging.c#l293
Defaults insults
will change the message, but not in customizable fashion.