How to Clear Wtmp

104 17
    • 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...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.