How to configure log_input and log_output in sudo.

Solution Verified - Updated -

Issue

  • Configure sudo log_input and log_output to log all commands run via sudo
  • Restrict system not to generate log for specific user.

Environment

  • Red Hat Enterprise Linux 6.7
  • Sudo

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content