Sudo breaks on RHEL 6 and 7 when devtoolset-7 (or -8) are installed

Solution Verified - Updated -

Issue

The sudo "wrapper" written for devtoolset is very limited, is not failsafe, and most importantly is called "sudo" and is first in search path, so takes over sudo invocations.

Environment

  • Red Hat Enterprise Linux
  • devtoolset installed on the server

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