Solved running updatedb as root warning

Hello,

I was wondering what the security consequences of running updatedb as root. If you start running it, and control C out of it. Is it possible to undo it? Am I over worried for nothing?

Thanks for your help.

I usually try to remember to run the weekly script on a fresh install ... but have typed updatedb as root before and wondered about the consequences. I would imagine it would allow viability to things you may not want non root users to have access to?
 
I was wondering what the security consequences of running updatedb as root.
It will be able to index files which are normally not accessible. So regular users can look those up. This may provide an information leak.
 
Nuke the database and run the regular weekly job. That should fix things.

Code:
FILES                                     
     /var/db/locate.database  the default database       
     /etc/locate.rc           the configuration file
 
Back
Top