<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sudo version 1.8.3p1 problem? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6140731#M496007</link>
    <description>&lt;P&gt;Hello Dennis.&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;P&gt;In the past we always enclosed the entire command in quotes - at least we did with previous versions of sudo (sudo-1.7.1).&lt;/P&gt;&lt;P&gt;With this version of sudo, that doesn't seem to work, however the command you provided...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo -i -u user1 ksh -c&amp;nbsp; "echo /opt/bin/submit DATA | at now"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...does work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2013 19:25:22 GMT</pubDate>
    <dc:creator>Tom Wolf_3</dc:creator>
    <dc:date>2013-07-19T19:25:22Z</dc:date>
    <item>
      <title>Sudo version 1.8.3p1 problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6139697#M496005</link>
      <description>&lt;P&gt;Hello all.&lt;/P&gt;&lt;P&gt;We're running Sudo version 1.8.3p1 on an HP-UX 11.31 ia64 server.&lt;/P&gt;&lt;P&gt;We have an account called user1 configured in /etc/sudoers to run many commands including the following&lt;/P&gt;&lt;P&gt;/usr/bin/ksh&lt;BR /&gt;/opt/bin/submit&lt;BR /&gt;/usr/bin/at&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Despite this, we're getting the following error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$ sudo -i -u user1 "echo /opt/bin/submit DATA | at now"&lt;BR /&gt;ksh: echo /opt/bin/submit DATA | at now: not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The account running this sudo command is also configured in /etc/sudoers.&lt;/P&gt;&lt;P&gt;Any ideas why the "ksh:....not found" error is being generated.&lt;/P&gt;&lt;P&gt;Is this a sudo or perhaps a ksh&amp;nbsp;$PATH issue?&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks everyone.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2013 22:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6139697#M496005</guid>
      <dc:creator>Tom Wolf_3</dc:creator>
      <dc:date>2013-07-18T22:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: sudo version 1.8.3p1 problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6139873#M496006</link>
      <description>&lt;P&gt;&amp;gt;ksh: echo /opt/bin/submit DATA | at now: not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you sure you're suppose to quote the whole command?&amp;nbsp; The ksh error indicates the shell got:&lt;/P&gt;&lt;P&gt;"echo /opt/bin/submit DATA | at now"&amp;nbsp; # as one token&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose you could do:&lt;/P&gt;&lt;P&gt;sudo -i -u user1 ksh -c&amp;nbsp; "echo /opt/bin/submit DATA | at now"&lt;/P&gt;&lt;P&gt;Or better:&lt;/P&gt;&lt;P&gt;echo /opt/bin/submit DATA | sudo -i -u user1 at now&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2013 04:09:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6139873#M496006</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2013-07-19T04:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: sudo version 1.8.3p1 problem?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6140731#M496007</link>
      <description>&lt;P&gt;Hello Dennis.&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;P&gt;In the past we always enclosed the entire command in quotes - at least we did with previous versions of sudo (sudo-1.7.1).&lt;/P&gt;&lt;P&gt;With this version of sudo, that doesn't seem to work, however the command you provided...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sudo -i -u user1 ksh -c&amp;nbsp; "echo /opt/bin/submit DATA | at now"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...does work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for the help.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2013 19:25:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sudo-version-1-8-3p1-problem/m-p/6140731#M496007</guid>
      <dc:creator>Tom Wolf_3</dc:creator>
      <dc:date>2013-07-19T19:25:22Z</dc:date>
    </item>
  </channel>
</rss>

