rm /var/log/{dmesg,lastlog,wtmp,faillog,..?}?!
If one has set up a dedicated syslog-ng configuration and wants to remove files like those, what would happen? Can anyone list the software entities responsible for writing to those? Has anyone configured a system, which doesn't needs them?
Hi, The syslog-ng doesn't use these logs by default. You can remove these but most of them will be recreated by another programs and you may experience unexpected behavior of your programs. explanation about logs: /var/log/lastlog, /var/log/wtmp used by login program /var/log/dmesg used by kernel and of course the Google is a very powerful tool to understand it Before you remove these, you should create a backup! Kārlis Repsons írta:
If one has set up a dedicated syslog-ng configuration and wants to remove files like those, what would happen? Can anyone list the software entities responsible for writing to those? Has anyone configured a system, which doesn't needs them? ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
What are you trying to do? Scenarios where you would not want those files are extremely limited. I'd wager that you're 'doing it wrong(tm)'. On Tue, Nov 10, 2009 at 1:18 PM, Pallagi Zoltán <pzolee@balabit.hu> wrote:
Hi, The syslog-ng doesn't use these logs by default. You can remove these but most of them will be recreated by another programs and you may experience unexpected behavior of your programs. explanation about logs: /var/log/lastlog, /var/log/wtmp used by login program /var/log/dmesg used by kernel and of course the Google is a very powerful tool to understand it
Before you remove these, you should create a backup!
Kārlis Repsons írta:
If one has set up a dedicated syslog-ng configuration and wants to remove files like those, what would happen? Can anyone list the software entities responsible for writing to those? Has anyone configured a system, which doesn't needs them? ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
-- Lance Laursen Demonware Systems Engineer 1-604-689-4594 x3702
On Tuesday 10 November 2009 23:15:20 you wrote:
What are you trying to do? Scenarios where you would not want those files are extremely limited. I'd wager that you're 'doing it wrong(tm)'. Could be. But sometimes its like - how else can one know why is this and that but getting into trouble? :) ... or 8| Well, depends.
participants (3)
-
Kārlis Repsons
-
Lance Laursen
-
Pallagi Zoltán