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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.