<h2>Unix commands with "sudo" failing to run from the serrvicewatch console (sacmdmanager)</h2><br/><div style="overflow-x:auto"><article><div ><h3 >Issue </h3><section><ul><li>Unix commands with "sudo" failing to run from the ServiceWatch console (sacmdmanager)<br /><br /><img src="/sys_attachment.do?sys_id=e6469d2e1baf6050ed6c9979b04bcb43" width="830" height="225" /><br /><br /></li><li>The same command when executed using the same user from "Putty" it works.<br /><br /><img src="/sys_attachment.do?sys_id=68299d621bef6050ed6c9979b04bcb0f" width="828" height="451" /><br /></li></ul></section></div><div ><h3 >Release</h3><section><ul><li>All</li></ul></section></div><div ><h3 >Resolution</h3><section><ul><li>Navigate to "MID Server > Privileged Command" on the instance and look for the command set up like the below<br /><br /><img src="/sys_attachment.do?sys_id=39275d6e1baf6050ed6c9979b04bcbe4" width="549" height="303" /><br /><br /></li><li>Open each of these commands and check which of these commands is assigned to a mid server and set to "true".<br /><br /></li><li>If the case is that a mid is assigned to the command "pfexec" and set to "true" and not to the command "sudo", we tend to see the errors as reported.<br /><br /><img src="/sys_attachment.do?sys_id=9648d1221bef6050ed6c9979b04bcba0" width="1165" height="229" /><br /><br /><img src="/sys_attachment.do?sys_id=0668d9221bef6050ed6c9979b04bcbc7" width="1173" height="250" /><br /><br /></li><li>Either set the value on the "pfexec" command to "false" or assign the mid server to "sudo" and the value to "true" to fix this issue.</li></ul></section></div></article></div>