Deleting lastlog files and syslogs

These log files are what we call sparse files. They can be cleared by the following command:

cat /dev/null > /var/log/lastlog