Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 10:09:14 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        freebsd-audit@FreeBSD.ORG
Subject:   Re: Misuse of 'nobody' user for locate(1)
Message-ID:  <20010921100914.A980@blossom.cjclark.org>
In-Reply-To: <20010921221010.C75698-100000@delplex.bde.org>; from bde@zeta.org.au on Fri, Sep 21, 2001 at 10:42:31PM %2B1000
References:  <20010920205706.A3050@blossom.cjclark.org> <20010921221010.C75698-100000@delplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 21, 2001 at 10:42:31PM +1000, Bruce Evans wrote:
> On Thu, 20 Sep 2001, Crist J. Clark wrote:

Thanks for the good suggestions.

> The location was supposed to be controlled by /etc/rc.locate, with the
> update script providing a default.  It was another bug that the periodic
> script hard-coded the location.

It might also be considered a bug that the location of the database is
hardcoded into locate(1). I would have expected locate(1) to check the
/etc/locate.rc file. However, it does not.

If I make these changes, that point is moot.
-- 
Crist J. Clark                           cjclark@alum.mit.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-audit" in the body of the message




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