<?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: ping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104719#M730952</link>
    <description>Regarding Shreekanth's suggestion: there are things in /usr/sbin you would not want ordinary users to run, so I would advise against putting it in their path. The earlier suggestion of an alias is safer.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
    <pubDate>Wed, 21 Nov 2007 03:16:53 GMT</pubDate>
    <dc:creator>MarkSyder</dc:creator>
    <dc:date>2007-11-21T03:16:53Z</dc:date>
    <item>
      <title>ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104710#M730943</link>
      <description>HP 9000 ,HP-UX 10.20&lt;BR /&gt;&lt;BR /&gt;When I run command ping &lt;BR /&gt;under any user (except root) &lt;BR /&gt;,the following message display "sh: ping :not found"&lt;BR /&gt;What should I do ?</description>
      <pubDate>Mon, 19 Nov 2007 05:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104710#M730943</guid>
      <dc:creator>atef_3</dc:creator>
      <dc:date>2007-11-19T05:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104711#M730944</link>
      <description>The command "ping" is located in /usr/sbin. That directory is not normally listed in PATH for normal users, only for root.&lt;BR /&gt;&lt;BR /&gt;(PATH is an environment variable that lists all the directories the shell searches for executable commands. To examine the value of the variable, run "echo $PATH". The default value for PATH is defined in the /etc/PATH file.)&lt;BR /&gt;&lt;BR /&gt;As a normal user, you can run ping by specifying the full name:&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/ping &lt;SOMEMACHINE&gt;&lt;BR /&gt;&lt;BR /&gt;MK&lt;/SOMEMACHINE&gt;</description>
      <pubDate>Mon, 19 Nov 2007 11:08:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104711#M730944</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-11-19T11:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104712#M730945</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Open user's .profile add the following entry, save&amp;amp;exit&lt;BR /&gt;&lt;BR /&gt;alias ping='/usr/sbin/ping'&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Murat</description>
      <pubDate>Mon, 19 Nov 2007 11:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104712#M730945</guid>
      <dc:creator>Murat SULUHAN</dc:creator>
      <dc:date>2007-11-19T11:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104713#M730946</link>
      <description>Atef,&lt;BR /&gt;&lt;BR /&gt;you can use full path /usr/sbin/ping to execute the ping command.&lt;BR /&gt;&lt;BR /&gt;WK</description>
      <pubDate>Mon, 19 Nov 2007 21:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104713#M730946</guid>
      <dc:creator>whiteknight</dc:creator>
      <dc:date>2007-11-19T21:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104714#M730947</link>
      <description>There is also a link to 'ping' in /etc.  For example, you can do:&lt;BR /&gt;&lt;BR /&gt;$ /etc/ping &lt;HOSTNAME&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Mon, 19 Nov 2007 21:45:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104714#M730947</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-11-19T21:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104715#M730948</link>
      <description>&amp;gt;(except root) &lt;BR /&gt;&lt;BR /&gt;While root you should have used "whence ping" to find its absolute path.&lt;BR /&gt;You can also find ping by its tlink: /etc/ping</description>
      <pubDate>Mon, 19 Nov 2007 21:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104715#M730948</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-11-19T21:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104716#M730949</link>
      <description>&amp;gt;...(except root)&lt;BR /&gt;&lt;BR /&gt;The location of the ping program in /usr/sbin&lt;BR /&gt;is for good reason because only a privileged user is allowed to generate ICMP echo-request packets.&lt;BR /&gt;As you can see the program is owned by root and has the suid bit set (one of the few commands on a Unix system) so that every user can execute this command with the effective uid of root.&lt;BR /&gt;&lt;BR /&gt;$ ll /usr/sbin/ping &lt;BR /&gt;-r-sr-xr-x   1 root       bin          32768 Oct 17  2006 /usr/sbin/ping&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2007 04:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104716#M730949</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2007-11-20T04:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104717#M730950</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;To determine which path is used for ping in the other profile, you can run either of the following commands:&lt;BR /&gt;&lt;BR /&gt;server1: home/yogeeraj&amp;gt;whereis ping&lt;BR /&gt;ping: /usr/sbin/ping /usr/share/man/man1m.Z/ping.1m&lt;BR /&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;BR /&gt;server1: home/yogeeraj&amp;gt;which ping&lt;BR /&gt;/usr/sbin/ping&lt;BR /&gt;server1: home/yogeeraj&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can then amend the PATH environment variable for root accordingly.&lt;BR /&gt;&lt;BR /&gt;Similarly if you find any other commands that are not working, you can proceed in the same way.&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Nov 2007 07:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104717#M730950</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2007-11-20T07:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104718#M730951</link>
      <description>atef,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Open users .profile and append the following at PATH line&lt;BR /&gt;&lt;BR /&gt;:/usr/sbin&lt;BR /&gt;&lt;BR /&gt;Shree</description>
      <pubDate>Wed, 21 Nov 2007 02:24:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104718#M730951</guid>
      <dc:creator>ShreeS</dc:creator>
      <dc:date>2007-11-21T02:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: ping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104719#M730952</link>
      <description>Regarding Shreekanth's suggestion: there are things in /usr/sbin you would not want ordinary users to run, so I would advise against putting it in their path. The earlier suggestion of an alias is safer.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Wed, 21 Nov 2007 03:16:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ping/m-p/4104719#M730952</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2007-11-21T03:16:53Z</dc:date>
    </item>
  </channel>
</rss>

