Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sun, Apr 24, 2005 at 01:08:55PM -0700, Jay O'Brien wrote:
> Erik Trulsson wrote:
> 
> > On Sun, Apr 24, 2005 at 08:02:39AM -0700, Jay O'Brien wrote:
> > 
> >>What are the tools that I should use to audit an existing 
> >>FreeBSD installation? Without changing anything, I wish 
> >>to quickly determine what is installed, i.e., the basic 
> >>system, ports and packages, and then to compare what is 
> >>installed to the currently available versions. 
> > 
> > 
> > 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.
 
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=true
in make.conf, programs and modules relating to bluetooth will not be built.
See 'man make.conf' for a list of settings.

Roland
-- 
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCbQsgEnfvsMMhpyURArDyAJ9EMqYnUO1XZwFiW77Xc3GUToIIKACghOZc
pCL6Ij96OdxMP86eVl13gnc=
=xBiF
-----END PGP SIGNATURE-----
help

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