From owner-freebsd-questions@FreeBSD.ORG Mon Apr 25 15:22:12 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7691C16A4CE for ; Mon, 25 Apr 2005 15:22:12 +0000 (GMT) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0AF943D58 for ; Mon, 25 Apr 2005 15:22:11 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.12.11/8.12.11) with ESMTP id j3PFM9YX019025; Mon, 25 Apr 2005 17:22:09 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id F35EF61EB; Mon, 25 Apr 2005 17:22:08 +0200 (CEST) Date: Mon, 25 Apr 2005 17:22:08 +0200 From: Roland Smith To: questions@freebsd.org Message-ID: <20050425152208.GA98448@slackbox.xs4all.nl> References: <426BB50F.9060104@att.net> <20050424152608.GA64194@falcon.midgard.homeip.net> <426BFCD7.2080705@att.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline In-Reply-To: <426BFCD7.2080705@att.net> User-Agent: Mutt/1.4.2.1i X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! Organization: Me, organized? X-Virus-Scanned: by XS4ALL Virus Scanner cc: Jay O'Brien Subject: Re: Audit tools? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2005 15:22:12 -0000 --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2005 at 01:08:55PM -0700, Jay O'Brien wrote: > Erik Trulsson wrote: >=20 > > On Sun, Apr 24, 2005 at 08:02:39AM -0700, Jay O'Brien wrote: > >=20 > >>What are the tools that I should use to audit an existing=20 > >>FreeBSD installation? Without changing anything, I wish=20 > >>to quickly determine what is installed, i.e., the basic=20 > >>system, ports and packages, and then to compare what is=20 > >>installed to the currently available versions.=20 > >=20 > >=20 > > For ports/packages you can use pkg_info(1) to see what is installed, > > and pkg_version(1) to compare what is installed to what is in the ports > > tree. For packages: ls /var/db/pkg/ will show you what's installed. For the base system, you'll have to look at /etc/make.conf and the kernel configuration file. The kernel configuration (default is /usr/src/sys/ARCH/conf/GENERIC, where ARCH is i386, amd64, alpha etc) file determines what's being built into the kernel. =20 By setting variables in make.conf, you can determine what's going to be built in the next buildworld. For instance, if you set NO_BLUETOOTH=3Dtrue in make.conf, programs and modules relating to bluetooth will not be built. See 'man make.conf' for a list of settings. Roland --=20 R.F. Smith /"\ ASCII Ribbon Campaign r s m i t h @ x s 4 a l l . n l \ / No HTML/RTF in e-mail http://www.xs4all.nl/~rsmith/ X No Word docs in e-mail public key: http://www.keyserver.net / \ Respect for open standards --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCbQsgEnfvsMMhpyURArDyAJ9EMqYnUO1XZwFiW77Xc3GUToIIKACghOZc pCL6Ij96OdxMP86eVl13gnc= =xBiF -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/--