Why the new version of sudo: sudo-1.7.2p1-13.el5 changed functionality?

Solution Verified - Updated -

Issue

  • After patching systems, sudo is being updated from sudo-1.7.2p1-10.el5 to sudo-1.7.2p1-13.el5, now the string together commands in quotes no longer working, this worked on the older version:
$ sudo -i -u user2 "echo hi;pwd"
[sudo] password for user1: 
hi
/var/ntrs/home/user2
  • On the newer version getting:
$ sudo -i -u user2 "echo hi;pwd"
[sudo] password for user1: 
-ksh[1]: echo hi;pwd: not found [No such file or directory]
  • Is this a bug? There is nothing in the change log that referred to this feature as not being available any longer?

Environment

  • Red Hat Enterprise Linux 5
  • sudo-1.7.2p1-13.el5

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.