Steve Robbins Asked: 2013-09-07 10:03:01 +0800 CST2013-09-07 10:03:01 +0800 CST 2013-09-07 10:03:01 +0800 CST Change "Not in sudoers file, this incident will be reported" message? 772 Is it possible to edit this message that someone sees when a sudo command fails due to permissions problems? sudo 1 Answers Voted Best Answer user182320 2013-09-07T10:28:58+08:002013-09-07T10:28:58+08:00 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
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