When executing sudo command with options, the error message is showed: "/var/tmp/sclCfaCk3: line 8: <option>: command not found"

Solution In Progress - Updated -

Issue

  • After executing the command sudo adding one or any option, it shows the error message:
$ sudo -V
/var/tmp/sclWC1Nlf: line 8: -V: command not found
$sudo -h
/var/tmp/sclCp4Cct: line 8: -h: command not found
$ sudo -- bash
/var/tmp/sclxlN7dp: line 8: --: command not found
$ sudo -n -- bash
/var/tmp/sclzhzU3U: line 8: -n: command not found

Environment

  • Red Hat Enterprise Linux

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