<?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: system hardening in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288955#M474906</link>
    <description>&lt;P&gt;Hey;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;I know many services can be turned off with the /etc/rc.config.d/* scripts but regarding /sbin/rc*.d links, is changing the capital K or S to lower case sufficient to shut off the service? In other words, will lower case first characters cause the link to be ignored?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the lower case characters 'will cause the links ot be ignored'. &amp;nbsp;If you look at the rc script itself, on/about line 17 of /sbin/rc, is a function called get_scripts. &amp;nbsp;The logic is a fairly easy to folllow if you're familiar with scripting; however, the key part for this discussion is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;case $name in&amp;nbsp;&lt;/P&gt;&lt;P&gt;${mode}*)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;${mode} will either be 'S' or 'K'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, moving the link to a lower case will eliminate it from consideration which is also in line with the standard method on other OSs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that being said, if there is an /etc/rc.config.d script, edit that. &amp;nbsp;Some apps don't use those, though, so you should be aware of this method as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doug O'Leary&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2011 12:46:09 GMT</pubDate>
    <dc:creator>Doug O'Leary</dc:creator>
    <dc:date>2011-08-02T12:46:09Z</dc:date>
    <item>
      <title>system hardening</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288199#M474887</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to this board and look to the group for some guidance. I have been tasked with doing some server hardening for our HP-UX 11.x PA/IA machines. I've read everything I've found on the subject but most docs seem to be pretty outdated. I am familiar with Bastille and creating Trusted systems but at this point I would like to start by shutting down unnecessary services and ports.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone point me to documentation/information about HP-UX 11.x default installed services and their purposes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know many services can be turned off with the /etc/rc.config.d/* scripts but regarding /sbin/rc*.d links, is changing the capital K or S to lower case sufficient to shut off the service? In other words, will lower case first characters cause the link to be ignored?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance, any guidance is greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PDY&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2011 20:20:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288199#M474887</guid>
      <dc:creator>Golf_4_Me</dc:creator>
      <dc:date>2011-08-01T20:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: system hardening</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288207#M474888</link>
      <description>&lt;P&gt;&amp;gt;I know many services can be turned off with the /etc/rc.config.d/* scripts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's what you should first use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;but regarding /sbin/rc*.d links, is changing the capital K or S to lower case sufficient to shut off the service?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might work.&amp;nbsp; But better to remove them or move them elsewhere.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should also look at inetd(1M)﻿ and&amp;nbsp;inetd.conf(4)﻿.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2011 20:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288207#M474888</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-01T20:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: system hardening</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288955#M474906</link>
      <description>&lt;P&gt;Hey;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;I know many services can be turned off with the /etc/rc.config.d/* scripts but regarding /sbin/rc*.d links, is changing the capital K or S to lower case sufficient to shut off the service? In other words, will lower case first characters cause the link to be ignored?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the lower case characters 'will cause the links ot be ignored'. &amp;nbsp;If you look at the rc script itself, on/about line 17 of /sbin/rc, is a function called get_scripts. &amp;nbsp;The logic is a fairly easy to folllow if you're familiar with scripting; however, the key part for this discussion is:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;case $name in&amp;nbsp;&lt;/P&gt;&lt;P&gt;${mode}*)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;${mode} will either be 'S' or 'K'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, moving the link to a lower case will eliminate it from consideration which is also in line with the standard method on other OSs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All that being said, if there is an /etc/rc.config.d script, edit that. &amp;nbsp;Some apps don't use those, though, so you should be aware of this method as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Doug O'Leary&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 12:46:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5288955#M474906</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2011-08-02T12:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: system hardening</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5289147#M474912</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the replies, they are very helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know of a source that describes the default HP-UX /etc/rc.config.d/* services and their use/purpose?&amp;nbsp; I am currently researching to find information on each but if there is a doc on the subject it would be a great help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PDY&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2011 15:38:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5289147#M474912</guid>
      <dc:creator>Golf_4_Me</dc:creator>
      <dc:date>2011-08-02T15:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: system hardening</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5289791#M474935</link>
      <description>&lt;P&gt;&amp;gt;Does anyone know of a source that describes the default HP-UX /etc/rc.config.d/* services and their use/purpose?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could ask each init script to print its purpose:&lt;/P&gt;&lt;P&gt;$ /sbin/init.d/nfs.client start_msg&lt;BR /&gt;Start NFS client subsystem﻿&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2011 07:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/system-hardening/m-p/5289791#M474935</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-08-03T07:54:16Z</dc:date>
    </item>
  </channel>
</rss>

