From owner-freebsd-ports Wed Feb 13 8:31: 6 2002 Delivered-To: freebsd-ports@freebsd.org Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by hub.freebsd.org (Postfix) with ESMTP id F284237B400 for ; Wed, 13 Feb 2002 08:31:01 -0800 (PST) Received: by totem.fix.no (Postfix, from userid 1000) id A52C03C93; Wed, 13 Feb 2002 17:31:48 +0100 (CET) Date: Wed, 13 Feb 2002 17:31:48 +0100 From: Anders Nordby To: ports@FreeBSD.org Cc: Missy Shaber Subject: Re: Running vulnerable version of UCD-SNMP? Message-ID: <20020213163148.GA21084@totem.fix.no> Mail-Followup-To: Anders Nordby , ports@FreeBSD.org, Missy Shaber References: <5.0.2.1.2.20020213103746.02189008@mail.awaretech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.0.2.1.2.20020213103746.02189008@mail.awaretech.com> User-Agent: Mutt/1.3.26i X-message-flag: Outlook : A program to spread viri, but it can do mail too. X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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