<?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: world-writeable shared mem segments normal? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787165#M78708</link>
    <description>&amp;gt; except the omniback client, apparently,&lt;BR /&gt;&amp;gt; which uses these writeable memory segments.&lt;BR /&gt;&lt;BR /&gt;You may want to ask about this in the OmniBack forum. I used to do OmniBack support and have never heard that OmniBack uses shared memory, but that does not mean it does not, just that I have never heard about it (i.e. also not about problems with it).&lt;BR /&gt;&lt;BR /&gt;When posting, please specify the OmniBack release, the kind of client/agent, the platform on which that agent runs, etc.. &lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 16 Aug 2002 08:04:13 GMT</pubDate>
    <dc:creator>Frank Slootweg</dc:creator>
    <dc:date>2002-08-16T08:04:13Z</dc:date>
    <item>
      <title>world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787160#M78703</link>
      <description>I know very little about how shared memory gets used in practice, but this struck me as potentially bad, so I thought I'd ask: is it normal / good to have apps running with memory segments that are "world-writeable"?&lt;BR /&gt;&lt;BR /&gt;For example, if I do ipcs -ma, I see quite a few segments that have mode --rw-rw-rw-, which would be something to correct if it were a file, but which I'm not sure about as a memory segment.</description>
      <pubDate>Thu, 15 Aug 2002 19:12:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787160#M78703</guid>
      <dc:creator>Trever Furnish</dc:creator>
      <dc:date>2002-08-15T19:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787161#M78704</link>
      <description>The answer is that there is no way to know; it depends upon the design of the software. Many times shared memory segments are created at startup as user root/sys so that in order for other users to access the shared memory they must me created with mode 666.&lt;BR /&gt;&lt;BR /&gt;It you have doubts, you need to contact the software vendor.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Aug 2002 19:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787161#M78704</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-15T19:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787162#M78705</link>
      <description>Hi Trever,&lt;BR /&gt;&lt;BR /&gt;As mentioned by Clay, it is done through the application to create and set the access modes though shmget() call.&lt;BR /&gt;&lt;BR /&gt;Are they appropriate permissions?. May be required for the application to work.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 15 Aug 2002 20:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787162#M78705</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-08-15T20:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787163#M78706</link>
      <description>Thanks, guys.  That's what I was afraid of.&lt;BR /&gt;&lt;BR /&gt;BTW, I've tried to assign 10's to both of your responses twice now but the assignment doesn't seem to be taking effect. :-(  Sorry.&lt;BR /&gt;&lt;BR /&gt;Not that this is a question, but the one app that bugs me most here is omniback - I've gotten used to zero reasonable security settings under HPUX, but everything's pretty well locked down on my linux systems...everything except the omniback client, apparently, which uses these writeable memory segments.&lt;BR /&gt;&lt;BR /&gt;I realize I can't be *certain* it doesn't have a valid reason for them, but I certainly have my doubts. :-/</description>
      <pubDate>Thu, 15 Aug 2002 20:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787163#M78706</guid>
      <dc:creator>Trever Furnish</dc:creator>
      <dc:date>2002-08-15T20:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787164#M78707</link>
      <description>Normally shared memory segments are a much smaller security risk than files simply because they are much more difficult to attach. It requires C/C++ or at least Perl and a fair bit of knowledge to do anything. Shell scripts or awk are not going to be able to alter the contents; they could given the right permissions remove a shared memory segment but that would be true regardless of the permission mode of the shmid.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Shared memory is just what it sounds like; it is an area of memory than a group of (hopefully related) processes can access. For example, Oracle's Shared Global Area's (SGA's) consist of a number of shared memory segments.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Aug 2002 20:43:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787164#M78707</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-08-15T20:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: world-writeable shared mem segments normal?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787165#M78708</link>
      <description>&amp;gt; except the omniback client, apparently,&lt;BR /&gt;&amp;gt; which uses these writeable memory segments.&lt;BR /&gt;&lt;BR /&gt;You may want to ask about this in the OmniBack forum. I used to do OmniBack support and have never heard that OmniBack uses shared memory, but that does not mean it does not, just that I have never heard about it (i.e. also not about problems with it).&lt;BR /&gt;&lt;BR /&gt;When posting, please specify the OmniBack release, the kind of client/agent, the platform on which that agent runs, etc.. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Aug 2002 08:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/world-writeable-shared-mem-segments-normal/m-p/2787165#M78708</guid>
      <dc:creator>Frank Slootweg</dc:creator>
      <dc:date>2002-08-16T08:04:13Z</dc:date>
    </item>
  </channel>
</rss>

