How to Clear Wtmp
- 1). Open a new terminal window by using the shortcut on your desktop or right-clicking on the desktop and choosing "New Terminal."
- 2). Type the command "su" and enter the root password to become the superuser; only the root account can clear the wtmp file.
- 3). Change directories to /var/log/ by tpying "cd /var/log/" and press the "Enter" key. Type the command ">wtmp" and press "Enter" to clear the wtmp file and set its size to zero.
- 4). Close the terminal window.
Source...