Date: Mon, 25 Apr 2005 17:22:08 +0200 From: Roland Smith <rsmith@xs4all.nl> To: questions@freebsd.org Cc: Jay O'Brien <jayobrien@att.net> Subject: Re: Audit tools? Message-ID: <20050425152208.GA98448@slackbox.xs4all.nl> In-Reply-To: <426BFCD7.2080705@att.net> References: <426BB50F.9060104@att.net> <20050424152608.GA64194@falcon.midgard.homeip.net> <426BFCD7.2080705@att.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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/--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050425152208.GA98448>