Error: 'Unknown user: ${UID_MIN}' encountered while starting the audit.rules service

Solution Verified - Updated -

Issue

  • During the attempt to start the auditd service on a Red Hat Enterprise Linux server, the following error was encountered:

    Nov 14 19:22:26 rhel.example.com auditctl[4380]: Unknown user: ${UID_MIN}
    Nov 14 19:22:26 rhel.example.com auditctl[4380]: There was an error in line 5 of /etc/audit/audit.rules
    
  • This error indicates that the variable ${UID_MIN} is not being recognized, leading to the failure of the audit service to start properly.

Environment

  • Red Hat Enterprise Linux 8
  • Audit

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