Date: Sun, 8 Jun 2003 17:16:01 +0100 From: Ceri Davies <setantae@submonkey.net> To: Santos <sansan@cas.port995.com> Cc: freebsd-stable@freebsd.org Subject: Re: Periodic scripts Message-ID: <20030608161601.GA21788@submonkey.net> In-Reply-To: <3EE327E4.1040304@cas.port995.com> References: <3EE327E4.1040304@cas.port995.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 08, 2003 at 01:11:16PM +0100, Santos wrote: > Why there is a weekly script that rebuilds the locate database when: > > >>> WARNING > >>> Executing updatedb as root. This WILL reveal all filenames > >>> on your machine to all login users, which is a security risk. To save you from yourself by the sound of it :^) >From the aforementioned weekly script: echo /usr/libexec/locate.updatedb | nice -5 su -fm nobody || rc=3 Your other question was already answered. Ceri -- User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030608161601.GA21788>