- 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: 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?
- Red Hat Enterprise Linux 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.