<?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 security settings in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462552#M210347</link>
    <description>how do I set the following security settings on this file ?&lt;BR /&gt;&lt;BR /&gt;-rwsr-s---   1 root       dba        2408432 Jul 22 12:53 dbsnmp&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
    <pubDate>Thu, 13 Jan 2005 09:28:05 GMT</pubDate>
    <dc:creator>Brent W. Moll</dc:creator>
    <dc:date>2005-01-13T09:28:05Z</dc:date>
    <item>
      <title>security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462552#M210347</link>
      <description>how do I set the following security settings on this file ?&lt;BR /&gt;&lt;BR /&gt;-rwsr-s---   1 root       dba        2408432 Jul 22 12:53 dbsnmp&lt;BR /&gt;&lt;BR /&gt;Thank you !</description>
      <pubDate>Thu, 13 Jan 2005 09:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462552#M210347</guid>
      <dc:creator>Brent W. Moll</dc:creator>
      <dc:date>2005-01-13T09:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462553#M210348</link>
      <description>chmod 6750 dbsnmp</description>
      <pubDate>Thu, 13 Jan 2005 09:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462553#M210348</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-01-13T09:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462554#M210349</link>
      <description>The command usually used is chmod for permissions, chown for ownershp, chgrp for group. chown can be used with the chown user:group format to change owner and group with one command/&lt;BR /&gt;&lt;BR /&gt;Permissions should be:&lt;BR /&gt;&lt;BR /&gt;-rwxr-xr-x&lt;BR /&gt;&lt;BR /&gt;It should not have suid permisions set as it does now.&lt;BR /&gt;&lt;BR /&gt;It should be owned by oracle or whatever user owns your oracle binaries. It would have been helpful if you'd said this was an oracle file.&lt;BR /&gt;&lt;BR /&gt;fix:&lt;BR /&gt;chown oracle:dba dbsnmp&lt;BR /&gt;chmod u+rwx dbsmnp&lt;BR /&gt;chmod g+rx dbsnmp&lt;BR /&gt;chmod o+rx dbsnmp&lt;BR /&gt;&lt;BR /&gt;alternate chmod&lt;BR /&gt;chmod 755 dbsnmp&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 13 Jan 2005 09:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462554#M210349</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-01-13T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462555#M210350</link>
      <description>I have to agree to Steven,&lt;BR /&gt;and hope your words "security settings" were meant ironically.&lt;BR /&gt;You should keep the number of files owned by root and with suid or sgid bits set to an absolute necessary minimum on your systems.</description>
      <pubDate>Thu, 13 Jan 2005 09:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462555#M210350</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-01-13T09:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462556#M210351</link>
      <description>I'm pretty sure that this binary was delivered by Oracle this was some time back.  The current verions have this removed because (surprise) it's a security risk.  From what I remember - they initially published a security bulletin telling you to address this manually (as you're doing now), but later they fixed the make file to do a chmod on it correctly.&lt;BR /&gt;&lt;BR /&gt;The best way to get your stuff back to where it belongs when your Oracle binaries are messed up is to relink your binaries.  &lt;BR /&gt;&lt;BR /&gt;That being said - you'll want to review this file for permissions - it should be set to 750.&lt;BR /&gt;&lt;BR /&gt;If you relink your Oracle_Home binaries and end up with the same issues - you should really think about upgrading the version of the database you're on, as well as keeping up with Oracle's latest security patches if you've not already done so.&lt;BR /&gt;&lt;BR /&gt;At a minimum set the perms manually, and see if you can find it in the makefile and fix the chmod yourself.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jan 2005 10:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462556#M210351</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2005-01-13T10:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462557#M210352</link>
      <description>Sometimes sticky bits are required for functionality.  While security trends have gotten away from this as a mainstream model, many applications still use this model.&lt;BR /&gt;&lt;BR /&gt;To add sticky bits, use chmod N+s where N is g(group), u(user), o(other).&lt;BR /&gt;&lt;BR /&gt;I.E.&lt;BR /&gt;&lt;BR /&gt;chmod 755 myprogram&lt;BR /&gt;ls -l myprogram&lt;BR /&gt;-rwxr-xr-x ... myprogram&lt;BR /&gt;&lt;BR /&gt;chmod u+s myprogram&lt;BR /&gt;-rwsr-xr-x ... myprogram&lt;BR /&gt;&lt;BR /&gt;I find it very irresponsible for anyone claim you should never have this bit set.  Arbitrarily changing permissions on vendor binaries can often lead to application failure.  &lt;BR /&gt;&lt;BR /&gt;Even in HP-UX remsh requires a sticky bit to be set for root, as does uucp, yppasswd, and many more.&lt;BR /&gt;&lt;BR /&gt;Follow vendor requirements for permissions, and if you feel something is insecure the vendor needs to address those issues.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Thu, 13 Jan 2005 11:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462557#M210352</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2005-01-13T11:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462558#M210353</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I do agree with Sharon about this one. In terms of the security settings. They key thing to remember about files with those permissions is that other people should not be able to modify the file or execution path. Hence the Group and Other write bits should be disabled.The necessary buffer overflow preventions must be in place( author/vendors task). The necessary signals should be trapped and handeld in a clean way.&lt;BR /&gt;&lt;BR /&gt;With the above measures in place it should not pose a security risk. I did miss some statements but that is the key ones to look at. Part of the unix security model is to give you the ability to get elavated permissions and aboviously to have it removed later on.&lt;BR /&gt;&lt;BR /&gt;Just my thoughts.&lt;BR /&gt;Gerhard&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 05:46:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462558#M210353</guid>
      <dc:creator>Gerhard Roets</dc:creator>
      <dc:date>2005-01-14T05:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462559#M210354</link>
      <description>Not to appear being pedantic,&lt;BR /&gt;but the sticky bit is something completely different, whose days I think have almost been counted because it used to serve "sticking" pages in memory once upon a time, when memory managment was handled differently.&lt;BR /&gt;Because of its loss of relevance nowadays its only purpose left seems to use it on directories to prevent users from manipulating files belonging to others in world writable directories, such as /tmp&lt;BR /&gt;  &lt;BR /&gt;The dangerous bits this thread is about are the setuid and setgid bits (or short sbit) that are named after the namesake syscalls.&lt;BR /&gt;  &lt;BR /&gt;Although this is a little digression from your problem you could also have a look at this document, which despite its age still has a lot of valuable suggestions how to "harden" ones system&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://hyatus.dune2.info/Unix/bastion11.html" target="_blank"&gt;http://hyatus.dune2.info/Unix/bastion11.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 07:01:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462559#M210354</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2005-01-14T07:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462560#M210355</link>
      <description>The real standard now is to use symbolic mode:&lt;BR /&gt;&lt;BR /&gt;So, to add setuid - chmod +s&lt;BR /&gt;to add setgid, chmod +g&lt;BR /&gt;&lt;BR /&gt;man chmod for more info.&lt;BR /&gt;&lt;BR /&gt;Be absolutely sure if you want setuid as root...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jan 2005 08:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462560#M210355</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-01-14T08:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462561#M210356</link>
      <description>I agree with Ralph about the "sticky bit". IBM nows calls it the "Save Text" bit as its only effect is when it is set on a directory.&lt;BR /&gt;Directories with this attribute mean that files created within it either can only be deleted by root or the user that created it, or when on a group the file will belong to that group regardless of the group membership of the user that created it.</description>
      <pubDate>Sat, 15 Jan 2005 10:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462561#M210356</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2005-01-15T10:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462562#M210357</link>
      <description>I posted a script named 'getchmod' in the past.  See if you can locate the script.  This script will list the chmod settings that can be used to reset the permissions.&lt;BR /&gt;&lt;BR /&gt;jack</description>
      <pubDate>Wed, 23 Feb 2005 09:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462562#M210357</guid>
      <dc:creator>Jack C. Mahaffey</dc:creator>
      <dc:date>2005-02-23T09:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: security settings</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462563#M210358</link>
      <description>Brent - and Jack,&lt;BR /&gt;&lt;BR /&gt;Here is Jack's "getchmod" script.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 23 Feb 2005 09:56:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/security-settings/m-p/3462563#M210358</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-02-23T09:56:42Z</dc:date>
    </item>
  </channel>
</rss>

