Periodic scripts
Ceri Davies
setantae at submonkey.net
Sun Jun 8 09:16:04 PDT 2003
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
More information about the freebsd-stable
mailing list