<?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: setgid program using SHLIB_PATH on HPUX 11.22 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832150#M89154</link>
    <description>Stuart,&lt;BR /&gt;&lt;BR /&gt;Add the path to your dld.so in /etc/profile on the system.&lt;BR /&gt;&lt;BR /&gt;Also if you are using NIS and have a master user profile which propogates to the users, make sure that you add the path to it too.&lt;BR /&gt;&lt;BR /&gt;For testing you may try this&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=$$SHLIB_PATH:/test/test/dld.so&lt;BR /&gt;&lt;BR /&gt;test is the path where dld.so lies.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
    <pubDate>Wed, 23 Oct 2002 20:16:42 GMT</pubDate>
    <dc:creator>Anil C. Sedha</dc:creator>
    <dc:date>2002-10-23T20:16:42Z</dc:date>
    <item>
      <title>setgid program using SHLIB_PATH on HPUX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832149#M89153</link>
      <description>dld.so appears to not honor SHLIB_PATH when&lt;BR /&gt;a program is set[ug]id on HPUX 11.22.  Im &lt;BR /&gt;guessing this is to close a hole where a&lt;BR /&gt;library could be inserted to get priv escalation.  However I cannot find any way to&lt;BR /&gt;add libraries to the 'TCB' (ala ldconfig on&lt;BR /&gt;Solaris).  How should a setgid program that&lt;BR /&gt;uses (and provides shared libraries) be linked&lt;BR /&gt;to work on 11.22?</description>
      <pubDate>Wed, 23 Oct 2002 20:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832149#M89153</guid>
      <dc:creator>Stuart Jarriel</dc:creator>
      <dc:date>2002-10-23T20:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: setgid program using SHLIB_PATH on HPUX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832150#M89154</link>
      <description>Stuart,&lt;BR /&gt;&lt;BR /&gt;Add the path to your dld.so in /etc/profile on the system.&lt;BR /&gt;&lt;BR /&gt;Also if you are using NIS and have a master user profile which propogates to the users, make sure that you add the path to it too.&lt;BR /&gt;&lt;BR /&gt;For testing you may try this&lt;BR /&gt;&lt;BR /&gt;export SHLIB_PATH=$$SHLIB_PATH:/test/test/dld.so&lt;BR /&gt;&lt;BR /&gt;test is the path where dld.so lies.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 23 Oct 2002 20:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832150#M89154</guid>
      <dc:creator>Anil C. Sedha</dc:creator>
      <dc:date>2002-10-23T20:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: setgid program using SHLIB_PATH on HPUX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832151#M89155</link>
      <description>I would suggest first running a 'chatr' on the program to ensure it is using the SHLIB_PATH.  If it is not enabled, then you're missing a "+s" from your linker options.</description>
      <pubDate>Fri, 25 Oct 2002 11:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832151#M89155</guid>
      <dc:creator>David Storrie</dc:creator>
      <dc:date>2002-10-25T11:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: setgid program using SHLIB_PATH on HPUX 11.22</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832152#M89156</link>
      <description>The program works (as a non-root user) when &lt;BR /&gt;its permissions are 555,  But when I change&lt;BR /&gt;the permissions to 2555 (setgid) it can no&lt;BR /&gt;longer locate the shared libraries that are&lt;BR /&gt;present in SHLIB_PATH.  SHLIB_PATH is set in&lt;BR /&gt;the environment of the calling shell.</description>
      <pubDate>Fri, 25 Oct 2002 12:09:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/setgid-program-using-shlib-path-on-hpux-11-22/m-p/2832152#M89156</guid>
      <dc:creator>Stuart Jarriel</dc:creator>
      <dc:date>2002-10-25T12:09:02Z</dc:date>
    </item>
  </channel>
</rss>

