'visudo' with -s (strict) option has a parsing errors

Solution Verified - Updated -

Issue

  • 'visudo' with -s (strict) option has a parsing error when using aliases
  • behavior seen: command alias in sudoers file, it gives exit status of 1

Environment

  • Red Hat Enterprise Linux 5
  • sudo 1.7.2.p1-14.el5_e3 x86_64

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