<?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: Getting &amp;quot;command not found&amp;quot; after sudo upgrade in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170902#M458002</link>
    <description>This "sudo vault" is for the data center users that we have. In the /opt/sudo/etc/sudoers file, the &lt;BR /&gt;&lt;BR /&gt;"Cmnd_Alias NETBKUP    /opt/dba/sudo/vault"&lt;BR /&gt;&lt;BR /&gt;is defined. Adding /opt/dba/sudo to the PATH seems to open up that directory?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f.halili</description>
    <pubDate>Tue, 21 Apr 2009 18:05:28 GMT</pubDate>
    <dc:creator>f. halili</dc:creator>
    <dc:date>2009-04-21T18:05:28Z</dc:date>
    <item>
      <title>Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170898#M457998</link>
      <description>Sudo was upgraded to 1.7.1. When a command is called via sudo I'm getting "command not found" now.&lt;BR /&gt;&lt;BR /&gt;Sample:&lt;BR /&gt;$ sudo vault&lt;BR /&gt;Password:&lt;BR /&gt;sudo vault: command not found.&lt;BR /&gt;&lt;BR /&gt;Please note that vault is on /opt/dba/sudo. I workaound I do now is -  I run $ sudo /opt/dba/sudo/vault, it works fine.&lt;BR /&gt;&lt;BR /&gt;Any thoughts?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f. halili&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Apr 2009 16:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170898#M457998</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2009-04-21T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170899#M457999</link>
      <description>Is /opt/dba/sudo in your PATH?&lt;BR /&gt;&lt;BR /&gt;echo $PATH&lt;BR /&gt;&lt;BR /&gt;If not, that is your problem.  The directory needs to be part of your path.</description>
      <pubDate>Tue, 21 Apr 2009 17:04:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170899#M457999</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-04-21T17:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170900#M458000</link>
      <description>I think there are two version of sudo, one is located in /etc while the other is in /opt/dba/. You might have installed a different sudo. What I did is put a link in /etc to make it work.</description>
      <pubDate>Tue, 21 Apr 2009 17:11:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170900#M458000</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-04-21T17:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170901#M458001</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt; since it is working after giving full pathname &lt;BR /&gt;the problem may be due to  the $PATH.&lt;BR /&gt;Add  /opt/dba/sudo to your PATH variable.&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Apr 2009 17:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170901#M458001</guid>
      <dc:creator>Bijeesh</dc:creator>
      <dc:date>2009-04-21T17:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170902#M458002</link>
      <description>This "sudo vault" is for the data center users that we have. In the /opt/sudo/etc/sudoers file, the &lt;BR /&gt;&lt;BR /&gt;"Cmnd_Alias NETBKUP    /opt/dba/sudo/vault"&lt;BR /&gt;&lt;BR /&gt;is defined. Adding /opt/dba/sudo to the PATH seems to open up that directory?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f.halili</description>
      <pubDate>Tue, 21 Apr 2009 18:05:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170902#M458002</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2009-04-21T18:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170903#M458003</link>
      <description>&amp;gt;&amp;gt; Adding /opt/dba/sudo to the PATH seems to open up that directory?&lt;BR /&gt;&lt;BR /&gt;How so?  If the users require sudo to execute anything from that directory, what is the problem?&lt;BR /&gt;&lt;BR /&gt;Having the full path to the command in sudoers does NOT mean that you only have to type the command name.  Sudoers tells sudo what users are authorized to use. The system still has to be able to get to the command.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Apr 2009 18:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170903#M458003</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-04-21T18:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170904#M458004</link>
      <description>The "/opt/dba/sudo" is in the PATH, and has not changed. So when I was working with the user ealier, we are getting the error even with the PATH defined.&lt;BR /&gt;&lt;BR /&gt;Below is the echo $PATH of the user who will the running the 'sudo &lt;COMMAND_NAME&gt;'&lt;BR /&gt;&lt;BR /&gt;echo $PATH&lt;BR /&gt;/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/usr/contrib/Q4/bin:/opt/perl/bin:/opt/ipf/bin:/opt/nettladm/bin:/opt/fcms/bin:/opt/ssh/bin:/usr/bin/X11:/opt/sec_mgmt/bastille/bin:/opt/dsau/bin:/opt/dsau/sbin:/opt/resmon/bin:/opt/gnome/bin:/usr/contrib/kwdb/bin:/opt/wbem/bin:/opt/wbem/sbin:/opt/graphics/common/bin:/opt/sec_mgmt/spc/bin:/usr/sbin/diag/contrib:/opt/hpsmh/bin:/opt/upgrade/bin:/opt/mx/bin:/opt/perf/bin:/opt/ignite/bin:/usr/local/bin:/opt/binutils/bin:/opt/zip/bin:/opt/sudo/bin:/opt/gtar/bin:/opt/gfind/bin:/opt/dba/bin:/opt/vim/bin:/opt/ssh/bin:/opt/mozilla:/usr/contrib/bin/X11:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd:/usr/openv/volmgr/bin:/opt/dazel35/bin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/oracle/product/9.2.0/bin:/opt/java/bin:/opt/dazel35/bin:/opt/dba/bin:/opt/dlc91e/bin:/opt/dba/sudo:.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f. halili&lt;/COMMAND_NAME&gt;</description>
      <pubDate>Tue, 21 Apr 2009 18:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170904#M458004</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2009-04-21T18:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170905#M458005</link>
      <description>Perhaps try putting /opt/dba/sudo at the beginning of the PATH variable and see if that helps.  &lt;BR /&gt;&lt;BR /&gt;I do not recall if there is a maximum length for the PATH, but this would be a good test.</description>
      <pubDate>Tue, 21 Apr 2009 19:03:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170905#M458005</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-04-21T19:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170906#M458006</link>
      <description>Is there a real sudo in /opt/dba/?</description>
      <pubDate>Tue, 21 Apr 2009 19:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170906#M458006</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2009-04-21T19:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170907#M458007</link>
      <description>Hi Patrick,&lt;BR /&gt;I tried putting /opt/dba/sudo at the start of the PATH and still got the same result.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hi Tingli,&lt;BR /&gt;The /optdba/sudo is a directory, and there is no real sudo there as well.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;f. halili</description>
      <pubDate>Wed, 22 Apr 2009 12:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170907#M458007</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2009-04-22T12:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170908#M458008</link>
      <description>Have the user type sudo -l (that is a - ell)to see what commands he can run. Then have him type the command verbatim! If the sudoers file has the full path then he must enter the full path in the sudo command.&lt;BR /&gt;&lt;BR /&gt;$sudo -l&lt;BR /&gt;User xxxx may run the following commands on this host:&lt;BR /&gt;(root) NOPASSWD: /bin/rlogin *, /bin/rsh *,&lt;BR /&gt;&lt;BR /&gt;for example then the user would have to run:&lt;BR /&gt;&lt;BR /&gt;$sudo /bin/rlogin whateversystem</description>
      <pubDate>Wed, 22 Apr 2009 13:27:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170908#M458008</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2009-04-22T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170909#M458009</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Please relogin to the system after you have updated the PATH variable.&lt;BR /&gt;&lt;BR /&gt;OR &lt;BR /&gt;&lt;BR /&gt;export PATH=$PATH:/opt/dba/sudo:.&lt;BR /&gt;&lt;BR /&gt;check executing the command.&lt;BR /&gt;&lt;BR /&gt;Ravi.</description>
      <pubDate>Wed, 22 Apr 2009 15:56:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170909#M458009</guid>
      <dc:creator>G V R Shankar</dc:creator>
      <dc:date>2009-04-22T15:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "command not found" after sudo upgrade</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170910#M458010</link>
      <description>thanks all.</description>
      <pubDate>Wed, 22 Apr 2009 16:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/getting-quot-command-not-found-quot-after-sudo-upgrade/m-p/5170910#M458010</guid>
      <dc:creator>f. halili</dc:creator>
      <dc:date>2009-04-22T16:06:42Z</dc:date>
    </item>
  </channel>
</rss>

