<?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: executable visible wherever for any user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985544#M420862</link>
    <description>I added path to /etc/PATH file.&lt;BR /&gt;&lt;BR /&gt;Thanks to all.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Jun 2006 07:21:54 GMT</pubDate>
    <dc:creator>Carles Viaplana</dc:creator>
    <dc:date>2006-06-15T07:21:54Z</dc:date>
    <item>
      <title>executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985538#M420856</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I installed java1.4 into my HP-UX B.11.11 but when I tried to execute java -version from / I can't, so I must go to /opt/java1.4/jre/bin directory and then execute it.&lt;BR /&gt;&lt;BR /&gt;I need java visible from any directory for any user. I tried to add java path and prefer do not modify .profile for each user.&lt;BR /&gt;&lt;BR /&gt;Is there any easy way to do it?&lt;BR /&gt;&lt;BR /&gt;BTW, how can I do an script can be execute directly instead "./myscript"?&lt;BR /&gt;&lt;BR /&gt;If I can fix both issues will be great.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 06:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985538#M420856</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2006-06-15T06:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985539#M420857</link>
      <description>Shalom Carles,&lt;BR /&gt;&lt;BR /&gt;This is a permissions problem.&lt;BR /&gt;&lt;BR /&gt;Make sure all users chmod o+rx the directiroes from root down to java&lt;BR /&gt;&lt;BR /&gt;Depending on current permissions you may need also chood g+rx&lt;BR /&gt;&lt;BR /&gt;If you an error message, I could be certain of my advice.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Jun 2006 07:02:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985539#M420857</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-15T07:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985540#M420858</link>
      <description>Hi Carles:&lt;BR /&gt;&lt;BR /&gt;You can add '/opt/java1.4/jre/bin' to '/etc/PATH'.  This is sourced by '/etc/profile' during its execution during login.   Hence, the one change will propogate to all users with one change.&lt;BR /&gt;&lt;BR /&gt;As far as being able to do:&lt;BR /&gt;&lt;BR /&gt;# myscript&lt;BR /&gt;[ instead of ]&lt;BR /&gt;# ./myscript&lt;BR /&gt;&lt;BR /&gt;...This is governed by the presence of a dot (".") in the PATH variable.  That's fine to include, as the *last* path, for *non-root* users but should *never* be added to root's path!  To do so is a security hole.&lt;BR /&gt;&lt;BR /&gt;Learn to type "./myscript" when you are root and sleep better.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 15 Jun 2006 07:10:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985540#M420858</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-06-15T07:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985541#M420859</link>
      <description>You can create a soft link in /usr/bin or /usr/local/bin&lt;BR /&gt;cd /usr/bin&lt;BR /&gt;ln -s /opt/java1.4/jre/bin/java java&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Thu, 15 Jun 2006 07:10:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985541#M420859</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-06-15T07:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985542#M420860</link>
      <description>Hi,&lt;BR /&gt;you can add the java path to the PATH variable in the /etc/profile.&lt;BR /&gt;In the user' .profile generally the PATH variable call the PATH in the /etc/profile.&lt;BR /&gt;&lt;BR /&gt;Enrico</description>
      <pubDate>Thu, 15 Jun 2006 07:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985542#M420860</guid>
      <dc:creator>Enrico P.</dc:creator>
      <dc:date>2006-06-15T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985543#M420861</link>
      <description>Hi Carles,&lt;BR /&gt;&lt;BR /&gt;#ll -d /opt/java1.4 drwxr-xr-x   9 root       root          1024 May 12  2005 /opt/java1.4&lt;BR /&gt;#ll -d /opt/java1.4/bin&lt;BR /&gt;dr-xr-xr-x   5 bin        bin           1024 May 12  2005 /opt/java1.4/bin&lt;BR /&gt;#ll -d /opt/java1.4/jre&lt;BR /&gt;dr-xr-xr-x   7 bin        bin           1024 &lt;BR /&gt;#ll -d /opt/java1.4/bin/java&lt;BR /&gt;-r-xr-xr-x   1 bin        bin         138936 Jul 13  2005 /opt/java1.4/bin/java&lt;BR /&gt;#ll -d /opt/java1.4/bin/java&lt;BR /&gt;# /opt/java1.4/bin/java -version&lt;BR /&gt;java version "1.4.2.09"&lt;BR /&gt;Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2.09-050713-03:34)&lt;BR /&gt;Java HotSpot(TM) Server VM (build 1.4.2 1.4.2.09-050713-05:46-PA_RISC2.0 PA2.0 (aCC_AP), mixed mode)&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;&lt;BR /&gt;ran&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 07:18:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985543#M420861</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2006-06-15T07:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: executable visible wherever for any user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985544#M420862</link>
      <description>I added path to /etc/PATH file.&lt;BR /&gt;&lt;BR /&gt;Thanks to all.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Carles&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 07:21:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/executable-visible-wherever-for-any-user/m-p/4985544#M420862</guid>
      <dc:creator>Carles Viaplana</dc:creator>
      <dc:date>2006-06-15T07:21:54Z</dc:date>
    </item>
  </channel>
</rss>

