Hi all,
I've finally decided to raze my old desktop windows OS and install FreeBSD 12.1 RELEASE.
I got a copy of the book Absolute FreeBSD 3rd edition and began from the noob level.
While I'm learning questions are rising, as it should I think.
There is something that I don't understand, I googled, searched the manuals and looked in the forum but I didn't find any specific answer so...
I was using /usr/libexec/locate.updatedb and the shell told me to not run it as root as the locate.database would contains too many entries and it would be a security issue.
Than I nuked the file and run periodic(8) with daily, weekly, and monthly params and than I saw that the locate.database size was the same as before.
As periodic(8) is called by cron(8) I searched and found that cron is run by root.
So: I don't understand - is locate.database populated by root by default?
P.S. This post is my first try to use correct forum markup .
Thank you all!!
I've finally decided to raze my old desktop windows OS and install FreeBSD 12.1 RELEASE.
I got a copy of the book Absolute FreeBSD 3rd edition and began from the noob level.
While I'm learning questions are rising, as it should I think.
There is something that I don't understand, I googled, searched the manuals and looked in the forum but I didn't find any specific answer so...
I was using /usr/libexec/locate.updatedb and the shell told me to not run it as root as the locate.database would contains too many entries and it would be a security issue.
Than I nuked the file and run periodic(8) with daily, weekly, and monthly params and than I saw that the locate.database size was the same as before.
As periodic(8) is called by cron(8) I searched and found that cron is run by root.
So: I don't understand - is locate.database populated by root by default?
P.S. This post is my first try to use correct forum markup .
Thank you all!!
Last edited by a moderator: