Warning in visudo: Host_Alias referenced but not defined

Solution Verified - Updated -

Issue

  • Copied the /etc/sudoers file from a RHEL 5.7 system to a new RHEL 5.8
  • The warning message visudo: Warning: Host_Alias HALIAS1 referenced but not defined is displayed when the command visudo runs

Environment

  • Red Hat Enterprise Linux 5.8
  • sudo-1.7.2p1-14.el5_8.3

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