Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 17:31:48 +0100
From:      Anders Nordby <anders@fix.no>
To:        ports@FreeBSD.org
Cc:        Missy Shaber <mshaber@awaretech.com>
Subject:   Re: Running vulnerable version of UCD-SNMP?
Message-ID:  <20020213163148.GA21084@totem.fix.no>
In-Reply-To: <5.0.2.1.2.20020213103746.02189008@mail.awaretech.com>
References:  <5.0.2.1.2.20020213103746.02189008@mail.awaretech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On Wed, Feb 13, 2002 at 10:42:36AM -0500, Missy Shaber wrote:
> How can I tell if my system is running UCD-SNMP / NET-SNMP,

# ls /var/db/pkg | grep snmp
(Do you see ucd-snmp or net-snmp?)
# ps axjww | grep snmpd
(Is snmpd running?)

> and if it is 
> running, what version it is,

# snmpd -v

UCD-snmp version:  4.2.3
Author:            Wes Hardaker
Email:             ucd-snmp-coders@ucd-snmp.ucdavis.edu

> and if it's earlier than version 4.2.3, how do I upgrade?

a) killall -9 snmpd

b) ls /var/db/pkg/ | grep snmp | xargs -n 1 pkg_delete -f

c) Update your ports collection (see www.freebsd.org/ports)

d) cd /usr/ports/net/net-snmp && make install clean

e) /usr/local/etc/rc.d/snmpd.sh start

(Some people use portupgrade, I like it the hard way.)

Cheers,

-- 
Anders.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020213163148.GA21084>