From owner-freebsd-questions Fri Feb 22 8:19: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta5.rcsntx.swbell.net (mta5.rcsntx.swbell.net [151.164.30.29]) by hub.freebsd.org (Postfix) with ESMTP id 674E237B404 for ; Fri, 22 Feb 2002 08:19:00 -0800 (PST) Received: from rocket455 ([208.191.203.119]) by mta5.rcsntx.swbell.net (iPlanet Messaging Server 5.1 (built May 7 2001)) with SMTP id <0GRX0079DZZN8Q@mta5.rcsntx.swbell.net> for freebsd-questions@freebsd.org; Fri, 22 Feb 2002 10:18:59 -0600 (CST) Date: Fri, 22 Feb 2002 10:20:31 -0600 From: Stephen Hoover Subject: RE: File Versions In-reply-to: <20020221235116.O29930-100000@catalyst.sasknow.net> To: FreeBSD Questions Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok I see...and you can also use ident on the binary and it will show you what sources it was compiled with. That works. Thanks! Stephen Hoover Dallas, Texas -----Original Message----- From: ryan@catalyst.sasknow.net [mailto:ryan@catalyst.sasknow.net]On Behalf Of Ryan Thompson Sent: Friday, February 22, 2002 12:13 AM To: Stephen Hoover Cc: FreeBSD Questions Subject: Re: File Versions If you want to be keen about it, use ident(1). See below. > Just use the binary pw for example. Very likely what you're talking about is the Jan 4th pw(8) security advisory, which actually refers to the source file "pwupd.c", which is part of the pw binary build in /usr/src/usr.sbin/pw/. I would do this: ryan $ ident /usr/src/usr.sbin/pw/pwupd.c /usr/src/usr.sbin/pw/pwupd.c: $FreeBSD: src/usr.sbin/pw/pwupd.c,v 1.12.2.4 2001/12/21 15:21:32 nectar Exp $ So, the version is immediately after the RCS filename, and is 1.12.2.4 in this case. I can also tell it was updated on December 21st, which was the correction date mentioned in the advisory. So, my pw sources have been updated to the fixed versions. Don't forget to rebuild the affected parts after updating the source. See the advisory itself for the hand-held approach to patching. :-) Good luck, - Ryan -- Ryan Thompson Network Administrator, Accounts SaskNow Technologies - http://www.sasknow.com #106-380 3120 8th St E - Saskatoon, SK - S7H 0W2 Tel: 306-664-3600 Fax: 306-664-1161 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message