HOWTO disable SNMP
- From: inemes <inemes@xxxxxxxxxxxx>
- Date: Thu, 29 Sep 2011 01:13:28 +1000
Greetings,
I am trying to completely disable SNMP on a few Sun Solaris boxes:
# uname -a
SunOS bogus 5.10 Generic_144488-17 sun4u sparc SUNW,SPARC-Enterprise
# showrev
Hostname: bogus
Hostid: 85019620
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: whatever.com.au
Kernel version: SunOS 5.10 Generic_144488-17
# /etc/init.d/init.dmi stop
# /etc/init.d/init.sma stop
# /etc/init.d/init.snmpdx stop
# chmod /etc/init.d 0444 init.dmi init.sma init.snmpdx
However, after an init 6, snmp is still running.
# ps -ef | grep dmi
root 874 864 0 23:28:03 pts/1 0:00 grep dmi
root 571 1 0 23:27:13 ? 0:00
/usr/lib/dmi/snmpXdmid -s bogus
root 572 1 0 23:27:13 ? 0:00 /usr/lib/dmi/dmispd
# ps -ef | grep sma
daemon 324 1 0 23:26:43 ? 0:00 /usr/lib/nfs/nfsmapid
root 876 864 0 23:28:20 pts/1 0:00 grep sma
ps -ef | grep snmpdx
root 878 864 0 23:28:38 pts/1 0:00 grep snmpdx
root 555 1 0 23:27:03 ? 0:00 /usr/lib/snmp/snmpdx
-y -c /etc/snmp/conf
What I am missing?
Regards,
Ioan
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: IMPORTANT: Read this before posting to Sun-Managers
- Next by Date: Solaris 9 to mount a NFS V4 share
- Previous by thread: sm console on v40z
- Next by thread: Solaris 9 to mount a NFS V4 share
- Index(es):