>
>Subject: Re: unix locate cmd 
>   From: "Kevin Oberman" <[EMAIL PROTECTED]>
..snip....
>
>Also, locate.updatedb runs as nobody so it will only index directories
>and files with other read access. 

Oh. Maybe this is why even newbie questions  are supposed to be
posted here. So security issues for a new user (or any user) can be
pointed out by those in the know.

Ok. Would I repair the security of my locate db by running:
/etc/periodic/weekly/310.locate
right now?

would it overwrite the existing db and not just "add" to it?

Thank you.




>
>From the man page for locate:
>     The locate database was built by user ``nobody''.  find(1) skips directo-
>     ries, which are not readable for user ``nobody'', group ``nobody'', or
>     world.  E.g. if your HOME directory is not world-readable, all your files
>     are not in the database.
>
>R. Kevin Oberman, Network Engineer
>Energy Sciences Network (ESnet)
>Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
>E-mail: [EMAIL PROTECTED]                 Phone: +1 510 486-8634

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to