lastlog
wtmp
cd /var/log/
rm -rf lastlog
rm -rf wtmp
touch lastlog
touch wtmp
chmod 644 wtmp (optional)
chmod 644 lastlog (optional)
exit
TOUCH command is used to create both the file with an empty content.
Setting permission to both the files are optional.