From: Sylvain Robitaille <syl@alcor.concordia.ca>
Subject: Re: Help disabling SNMP and dtspc
Date: 9 Dec 2002 17:01:28 GMT [thread overview]
Message-ID: <slrnav9j38.aac4.syl@alcor.concordia.ca> (raw)
In-Reply-To: 993d885.0212041353.eddc7fd@posting.google.com
Jack Frillman wrote:
> I am not familar with the "SNMP" and "dtspc" services on a
> Tru64 4.0F system. I have had a request to disable them.
That's actually a good idea. If you *were* familiar with them, you
still might prefer to disable them, but at least at that point if you
didn't you'd have a chance of having configured them.
> My questions are:
>
> 1 - How can I tell if they are disabled?
For snmp, you want to check for an snmp daemon running:
ps ax |grep snmpd |grep -vw grep
For dtspc, you would check if it's enabled in the inetd.conf file:
grep -w dtspc /etc/inetd.conf
> 2 - How can I tell if they are enabled?
The same way you tell if they're disabled, except for snmpd, you also
want to check for /sbin/init.d/snmpd. If that file exists, you'll
probably have an snmpd daemon running again after your next reboot.
> 2 - How can they be disabled.
First, shutdown snmpd if it's already running:
/sbin/init.d/snmpd stop
Next, disable it from starting up again:
mv /sbin/init.d/snmpd /sbin/init.d/HIDE.snmpd
(Note that this way of disabling the startup still leaves it available
to you if you one day decide you do want to use it, while ensuring the
system won't start it at boot time.)
For dtspc, you'll need to disable it in the inetd.conf file, and signal
inetd:
sed 's/^dtspc/# dtspc/' /etc/inetd.conf > /etc/inetd.conf.NEW
mv /etc/inetd.conf /etc/inetd.conf.`date +%Y%m%d`
mv /etc/inetd.conf.NEW /etc/inetd.conf
kill -HUP `cat /var/run/inetd.pid`
If you decide later that you do want to enable that, you'll just need to
reverse the edit (remove "# " from the dtspc line).
> 3 - What are the consequiences if they are disabled?
In the case of snmp, your systems will not give away information you may
not want them to give to people you may not want possessing that
information, (trust relationships, network layout, stuff like that).
I have no idea what dtspc is used for, either legitimately or otherwise,
so I see no point in having it running. I do recall there being recent
security advisories about it, though. It would certainly be best to
disable it.
You'll probably want to do the same for other daemons that may be running
(or available via inetd) on your system, with little or no documentation,
for which you can't be sure what sorts of access controls exist.
My general view is that unless the OS specifically needs a particular
daemon, if I didn't configure it specifically for this host, I don't
want it running.
I hope that helps...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
prev parent reply other threads:[~2002-12-09 17:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-04 21:53 Help disabling SNMP and dtspc Jack Frillman
2002-12-09 17:01 ` Sylvain Robitaille [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox