<?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 SUID SGID issue on execueting a exe in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122090#M677166</link>
    <description>I have 2 exe one with 777 permision and other with 6755(set UID and GID).&lt;BR /&gt;&lt;BR /&gt;The exe attributes are SHLIB_LIB lookup first and then embedded path.&lt;BR /&gt;&lt;BR /&gt;When i execute the exe with 777 permission from a seperate login it finds all the linked libraries, while the same exe with SGID and SUID set, fails to find the libraries with SHLIB_PATH lookup enabled.&lt;BR /&gt;&lt;BR /&gt;Below is a output of the behaviour explained above on HPUX 11iV2 Itanium Server.&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload*&lt;BR /&gt;-rwxrwxrwx   1 plat1122   dba        3551008 Dec 27  2007 fastunload*&lt;BR /&gt;-rwsr-sr-x   1 plat1122   dba        3551008 Jul 28 11:44 fastunload_test*&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH is ENABLED BEFORE EMBEDDED PATH&lt;BR /&gt;&lt;BR /&gt;chatr fastunload_test&lt;BR /&gt;&lt;BR /&gt;fastunload_test:&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/mitapi/r11.2.2/lib:/home/CAI&lt;BR /&gt;/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/mitapi/r11.2.2/lib:/home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/dd_od&lt;BR /&gt;bc/v530/lib:/home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/rtworks/4.6.1/lib/ia64_hpux11:/usr/lib/hpux64:/opt/langtools/lib&lt;BR /&gt;/hpux64&lt;BR /&gt;&lt;BR /&gt;Now when i run this exe from a different user other than its owner plat1122. I get error with the exe, which has SUID and SGID set and not from the same exe which has 777 permission.&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload_test &lt;BR /&gt;-rwsr-sr-x   1 plat1122   dba        3551008 Jul 28 11:44 fastunload_test*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ldd fastunload_test      &lt;BR /&gt;        Unable to find library 'libmitapi.so'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WHILE On the EXE which has 777 permission i can execute it and it finds the dependant library.&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload&lt;BR /&gt;-rwxrwxrwx   1 plat1122   dba        3551008 Dec 27  2007 fastunload*&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ldd fastunload | m &lt;BR /&gt;        libmitapi.so =&amp;gt; /opt/plat1122/UnicenterDCC/lib/libmitapi.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea why this behaviour is happening. On PA-RISC we had option to disable the embedded path but it is not available on Itanium Chatr options.</description>
    <pubDate>Mon, 28 Jul 2008 19:18:27 GMT</pubDate>
    <dc:creator>Sunilsc</dc:creator>
    <dc:date>2008-07-28T19:18:27Z</dc:date>
    <item>
      <title>SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122090#M677166</link>
      <description>I have 2 exe one with 777 permision and other with 6755(set UID and GID).&lt;BR /&gt;&lt;BR /&gt;The exe attributes are SHLIB_LIB lookup first and then embedded path.&lt;BR /&gt;&lt;BR /&gt;When i execute the exe with 777 permission from a seperate login it finds all the linked libraries, while the same exe with SGID and SUID set, fails to find the libraries with SHLIB_PATH lookup enabled.&lt;BR /&gt;&lt;BR /&gt;Below is a output of the behaviour explained above on HPUX 11iV2 Itanium Server.&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload*&lt;BR /&gt;-rwxrwxrwx   1 plat1122   dba        3551008 Dec 27  2007 fastunload*&lt;BR /&gt;-rwsr-sr-x   1 plat1122   dba        3551008 Jul 28 11:44 fastunload_test*&lt;BR /&gt;&lt;BR /&gt;SHLIB_PATH is ENABLED BEFORE EMBEDDED PATH&lt;BR /&gt;&lt;BR /&gt;chatr fastunload_test&lt;BR /&gt;&lt;BR /&gt;fastunload_test:&lt;BR /&gt;         64-bit ELF executable&lt;BR /&gt;         shared library dynamic path search:&lt;BR /&gt;             LD_LIBRARY_PATH    enabled  first &lt;BR /&gt;             SHLIB_PATH         enabled  second&lt;BR /&gt;             embedded path      enabled  third  /home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/mitapi/r11.2.2/lib:/home/CAI&lt;BR /&gt;/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/mitapi/r11.2.2/lib:/home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/dd_od&lt;BR /&gt;bc/v530/lib:/home/CAI/manageit/support2/mgtdbt_dir/CSAPI/HPU112/toolkits/rtworks/4.6.1/lib/ia64_hpux11:/usr/lib/hpux64:/opt/langtools/lib&lt;BR /&gt;/hpux64&lt;BR /&gt;&lt;BR /&gt;Now when i run this exe from a different user other than its owner plat1122. I get error with the exe, which has SUID and SGID set and not from the same exe which has 777 permission.&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload_test &lt;BR /&gt;-rwsr-sr-x   1 plat1122   dba        3551008 Jul 28 11:44 fastunload_test*&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ldd fastunload_test      &lt;BR /&gt;        Unable to find library 'libmitapi.so'.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;WHILE On the EXE which has 777 permission i can execute it and it finds the dependant library.&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ll fastunload&lt;BR /&gt;-rwxrwxrwx   1 plat1122   dba        3551008 Dec 27  2007 fastunload*&lt;BR /&gt;&lt;BR /&gt;hpitan4::/opt/plat1122/bin &amp;gt; ldd fastunload | m &lt;BR /&gt;        libmitapi.so =&amp;gt; /opt/plat1122/UnicenterDCC/lib/libmitapi.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any idea why this behaviour is happening. On PA-RISC we had option to disable the embedded path but it is not available on Itanium Chatr options.</description>
      <pubDate>Mon, 28 Jul 2008 19:18:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122090#M677166</guid>
      <dc:creator>Sunilsc</dc:creator>
      <dc:date>2008-07-28T19:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122091#M677167</link>
      <description>SHLIB_LIB/LD_LIBRARY_PATH are ignored for setuid executables as a security risk.&lt;BR /&gt;To get this to work you must put those paths in /etc/dld.sl.conf:&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B2355-60127/dld.sl.5.html#d0e978509" target="_blank"&gt;http://docs.hp.com/en/B2355-60127/dld.sl.5.html#d0e978509&lt;/A&gt;</description>
      <pubDate>Mon, 28 Jul 2008 21:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122091#M677167</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-28T21:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122092#M677168</link>
      <description>If you are happy with your answers, please read the following about assigning points and reopening threads:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/helptips.do?#41" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/helptips.do?#41&lt;/A&gt;</description>
      <pubDate>Tue, 29 Jul 2008 18:38:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122092#M677168</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-29T18:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122093#M677169</link>
      <description>I had assigned 10 points to the case. I hope it is updated.&lt;BR /&gt;&lt;BR /&gt;Thanks again,</description>
      <pubDate>Tue, 29 Jul 2008 18:48:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122093#M677169</guid>
      <dc:creator>Sunilsc</dc:creator>
      <dc:date>2008-07-29T18:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122094#M677170</link>
      <description>&amp;gt;I had assigned 10 points to the case.&lt;BR /&gt;&lt;BR /&gt;You need to push the submit points button before the points are assigned.</description>
      <pubDate>Wed, 30 Jul 2008 00:27:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122094#M677170</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-30T00:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122095#M677171</link>
      <description>I did the submit option, Thanks</description>
      <pubDate>Wed, 30 Jul 2008 13:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122095#M677171</guid>
      <dc:creator>Sunilsc</dc:creator>
      <dc:date>2008-07-30T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122096#M677172</link>
      <description>&amp;gt;I did the submit option&lt;BR /&gt;&lt;BR /&gt;Hmm, still no points.  Try reopening.  Then use the points memu, then push the submit points.&lt;BR /&gt;Then close separately.</description>
      <pubDate>Thu, 31 Jul 2008 00:09:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122096#M677172</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-31T00:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: SUID SGID issue on execueting a exe</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122097#M677173</link>
      <description>I did that and i can assign points now.&lt;BR /&gt;&lt;BR /&gt;Sorry for the trouble, as this was my first post in the forum</description>
      <pubDate>Thu, 31 Jul 2008 19:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/suid-sgid-issue-on-execueting-a-exe/m-p/5122097#M677173</guid>
      <dc:creator>Sunilsc</dc:creator>
      <dc:date>2008-07-31T19:12:01Z</dc:date>
    </item>
  </channel>
</rss>

