How to setup "SU" directive in logrotate configuration?

Solution Unverified - Updated -

Issue

  • Normal users aren't able to run the logrotate so need to configure su in logrotate. How to use "su" with logrotate?

Environment

  • Red Hat Enterprise Linux 7
  • Logrotate

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