<?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: Disabling Snmp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193442#M165151</link>
    <description>Almost forgot: the /sbin/init.d/SnmpFddi* is badly written and does not correspond to the HP-UX standard for start/stop scripts. Removing the symlink is the best solution. Hopefully, HP will fix this oversight.</description>
    <pubDate>Mon, 16 Feb 2004 17:33:20 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-02-16T17:33:20Z</dc:date>
    <item>
      <title>Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193439#M165148</link>
      <description>I am disabling snmp on a server but haven't been able to determine how /sbin/init.d/SnmpFddi gets started. There doesn't seem to be a corresponding config file in /etc/rc.config.d. I could always move S570SnmpFddi to s570SnmpFddi to prevent it from starting, but if there is a control parameter somewhere, I would prefer to set its value to zero.</description>
      <pubDate>Mon, 16 Feb 2004 16:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193439#M165148</guid>
      <dc:creator>John Sisak</dc:creator>
      <dc:date>2004-02-16T16:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193440#M165149</link>
      <description>There is no config file for that one... Config files are good coding, but not required.&lt;BR /&gt;&lt;BR /&gt;The best way is to disable the startup and kill scripts and make the script non-executable.&lt;BR /&gt;&lt;BR /&gt;Dont forget to comment it out of /etc/servcies to free up those ports if you need to lock them down.</description>
      <pubDate>Mon, 16 Feb 2004 16:41:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193440#M165149</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-02-16T16:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193441#M165150</link>
      <description>Actually, the preferred method is to turn off SNMP values and leave the scripts in /sbin/init.d alone. The reason is that /sbin/init.d contains non-configurable scripts and these may get replaced in a future patch. And if you run swverify it will report errors in this directory as the permissions will be incorrect.&lt;BR /&gt; &lt;BR /&gt;To turn off any start/stop service in /sbin/init.d, use the corresponding configuration script in /etc/rc.config.d. Most (but not all) will have a 1:1 naming convention. For instance, ems has the same name in both directories. Alas, several scripts use a 'combination' config file such as netconf or netdaemons. However, for SNMP, the choice is easy. Just do this:&lt;BR /&gt; &lt;BR /&gt;for MYSCRIPT in /sbin/init.d/Snmp*&lt;BR /&gt;do&lt;BR /&gt;$MYSCRIPT stop&lt;BR /&gt;done&lt;BR /&gt; &lt;BR /&gt;vi /etc/rc.config.d/Snmp*&lt;BR /&gt; &lt;BR /&gt;and in vi, type G to go to the end of the file, set =1 to =0, then save the file and type :n to go to the next file and repeat until done. (or just edit each Snmp file in /etc/rc.config.d one at a time). Now you've stopped all Snmp services (not a bad idea at all) and disabled these services from starting at the next reboot.</description>
      <pubDate>Mon, 16 Feb 2004 17:30:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193441#M165150</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-16T17:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193442#M165151</link>
      <description>Almost forgot: the /sbin/init.d/SnmpFddi* is badly written and does not correspond to the HP-UX standard for start/stop scripts. Removing the symlink is the best solution. Hopefully, HP will fix this oversight.</description>
      <pubDate>Mon, 16 Feb 2004 17:33:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193442#M165151</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-16T17:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193443#M165152</link>
      <description>I own the FDDI network product including the&lt;BR /&gt;subagent.&lt;BR /&gt;&lt;BR /&gt;The main issue with SnmpFddi4 startup script&lt;BR /&gt;is that it doesn't have a corresponding&lt;BR /&gt;configuration file in /etc/rc.config.d/&lt;BR /&gt;directory.  As Todd has mentioned, config&lt;BR /&gt;files for subagents(in etc/rc.config.d/ &lt;BR /&gt;directory) doesn't seem to be mandatory.&lt;BR /&gt;&lt;BR /&gt;I understand that absence of FDDI's &lt;BR /&gt;configuration file in etc/rc.config.d/ &lt;BR /&gt;directory is an usability issue and doesn't&lt;BR /&gt;provide a proper uniform mechanism to disable&lt;BR /&gt;subagent's start.&lt;BR /&gt;&lt;BR /&gt;FDDI technology being legacy is getting &lt;BR /&gt;obsoleted during 11.31 and as you are already&lt;BR /&gt;aware of the workarounds available for this &lt;BR /&gt;issue.  Also, as no customer has ever  &lt;BR /&gt;complained about this, I think the ROI is not&lt;BR /&gt;worth the effort required to patch this&lt;BR /&gt;issue.  Please let me know your opinion&lt;BR /&gt;about this.</description>
      <pubDate>Fri, 20 Feb 2004 03:10:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193443#M165152</guid>
      <dc:creator>Naveen_17</dc:creator>
      <dc:date>2004-02-20T03:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193444#M165153</link>
      <description>"Config files ... not required"? Hummmm. That seems to be in opposition to the design and standard practice for start/stop scripts. Perhaps this document may be of some help: &lt;A href="http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=5963-8942&amp;amp;service=hpux&amp;amp;path=00/00/1&amp;amp;title=HP-UX%2010.0%20File%20System%20Layout%20White%20Paper" target="_blank"&gt;http://docs.hp.com/cgi-bin/onlinedocs.py?mpn=5963-8942&amp;amp;service=hpux&amp;amp;path=00/00/1&amp;amp;title=HP-UX%2010.0%20File%20System%20Layout%20White%20Paper&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;The reality is that without a config script, you can have a true hodge-podge (technical term) of solutions (chmod -x or rename the script or remove the script, etc) all of which (because they are in /sbin/...) are subject to patch changes. SNMP is the subject of many security concerns so it should be easily configurable. I don't want a disabled service to sneak back in after patching. True, FDDI is going away but the code will exist (11.00, 11.11) for many years. If an swremove will remove FDDI and the start/stop script, then that would be a good alternative.</description>
      <pubDate>Fri, 20 Feb 2004 08:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193444#M165153</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-02-20T08:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193445#M165154</link>
      <description>Just as a follow up... There must have been a recent patch that I loaded which corrected this anomaly of no config files in /etc/rc.config.d/&lt;BR /&gt;&lt;BR /&gt;I now see Snmp* in /etc/rc.config.d/ that I didnt see before... maybe I just missed them.&lt;BR /&gt;&lt;BR /&gt;Three of the dates are older "Pre-Install" dates of my host so I dont know when they might have been installed unless I go back and check my patch install history...&lt;BR /&gt;&lt;BR /&gt;So I can also now disable my own snmp and lock down that port.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will have to check and post back again.&lt;BR /&gt;&lt;BR /&gt;NO points here please.</description>
      <pubDate>Fri, 04 Jun 2004 09:36:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193445#M165154</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-06-04T09:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193446#M165155</link>
      <description>Thanks, Todd. I had/have four files in /etc/rc.config.d: &lt;BR /&gt;SnmpHpunix&lt;BR /&gt;SnmpMaster&lt;BR /&gt;SnmpMib2&lt;BR /&gt;SnmpTrpDst&lt;BR /&gt;Unfortunately, none control /sbin/init.d/SnmpFddi.</description>
      <pubDate>Fri, 04 Jun 2004 10:50:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193446#M165155</guid>
      <dc:creator>John Sisak</dc:creator>
      <dc:date>2004-06-04T10:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Snmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193447#M165156</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I found this method of disabling SNMP:&lt;BR /&gt;&lt;BR /&gt;cd /sbin/rc2.d&lt;BR /&gt;for file in S565OspfMib S941opcagt S570SnmpFddi&lt;BR /&gt;do mv -f $file .NO$file&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;ch_rc -a -p SNMP_HPUNIX_START=0 /etc/rc.config.d/SnmpHpunix&lt;BR /&gt;ch_rc -a -p SNMP_MASTER_START=0 /etc/rc.config.d/SnmpMaster&lt;BR /&gt;ch_rc -a -p SNMP_MIB2_START=0 /etc/rc.config.d/SnmpMib2&lt;BR /&gt;ch_rc -a -p SNMP_TRAPDEST_START=0 /etc/rc.config.d/SnmpTrpDst&lt;BR /&gt;&lt;BR /&gt;Elena&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Jun 2004 11:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-snmp/m-p/3193447#M165156</guid>
      <dc:creator>Elena Leontieva</dc:creator>
      <dc:date>2004-06-04T11:00:30Z</dc:date>
    </item>
  </channel>
</rss>

