#!/bin/sh # # /etc/cron/cron.daily # # Update the "locate" database cd / && /usr/bin/updatedb \ --localuser=nobody \ --prunefs="NFS nfs afs proc smbfs autofs auto iso9660 ncpfs coda ftpfs" \ --prunepaths="/tmp /var/tmp /var/spool" 2> /dev/null # Update the "whatis" database /usr/sbin/makewhatis -u -w # Verify integrity of password and group files /usr/sbin/pwck -r /usr/sbin/grpck -r # Synchronize system clock #/usr/bin/rdate -s # End of file