View Full Version : [ubuntu] Clearing auth.log
hardysummer
January 28th, 2009, 10:24 PM
How do I clear my auth.log? It would not allow me to overwrite with nothing (sudo echo "" > /etc/var/auth.log).
cdtech
January 28th, 2009, 10:28 PM
Have you thought about using "logrotate" it helps keep your logs in order.
bettlebrox
January 29th, 2009, 01:19 AM
Do this:
sudo bash
cat /dev/null > /etc/var/auth.log
Then ctrl-d or exit to exit.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.