Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2003 09:55:31 -0500
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: $ locate httpd.conf
Message-ID:  <87ptjw589o.fsf@pooh.honeypot.net>
In-Reply-To: <20030727162032.N657@mimer.null.dk> (Jonas Anderson's message of "Sun, 27 Jul 2003 16:21:24 %2B0200 (CEST)")
References:  <3F23DBA4.F884D509@chatusa.com> <20030727162032.N657@mimer.null.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

At 2003-07-27T14:21:24Z, Jonas Anderson <jonas@null.dk> writes:

> Use /usr/libexec/locate.updatedb .. That should fix your problem.

Unfortunately, you have to be root to run that.  Unless you, as root,
instruct it to run as 'nobody', it has full access to index every file on
the hard drive, including those with contents not otherwise visible to the
world.

Much better to run the 'periodic' script and let it properly handle setting
the correct user.
=2D-=20
Kirk Strauser

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/I+fj5sRg+Y0CpvERAqQvAJ9pxTECwqrqFmWv8scl7JoVHf2x6QCcCzRG
la//ri5gF1Pvweprmx4WPcI=
=hlYr
-----END PGP SIGNATURE-----
--=-=-=--



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