rotate auth.log ubuntu

to rotate auth.log on ubuntu add the following to your /etc/logrotate.conf:


/var/log/auth.log {
rotate 5
daily
copytruncate
compress
}

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>