How to stop sudo from triggering emails to root for incorrect passwords?

(Doc ID 2279793.1)

Last updated on JUNE 29, 2017

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Information in this document applies to any platform.

Goal

How to stop sudo from triggering emails to root when incorrect password is entered by a sudo user?

In all other cases such as entering invalid username, entering unallowed commands etc, mail should be triggered as usual.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms