The weekly script that updates the locate database can be run manually by logging in and issuing the command:
/etc/periodic/weekly/310.locate
This script will safely update without generating any of those 'updating locate database as root' security warnings. To run the command directly use the following command:
/usr/libexec/locate.updatedb