Bijgaand lijstje van logbestanden:
total 687412
drwxr-xr-x 2 root root 4096 Jan 1 04:42 apache2/
-rw-r----- 1 root root 49152 Jan 30 11:00 cron
-rw-r----- 1 root root 3142 Jan 27 04:42 cron.1.gz
-rw-r----- 1 root root 3144 Jan 20 04:42 cron.2.gz
-rw-r----- 1 root root 3119 Jan 13 04:42 cron.3.gz
-rw-r----- 1 root root 3146 Jan 6 04:42 cron.4.gz
drwxr-xr-x 2 root root 73 Oct 26 11:02 cups/
-rw-r----- 1 root root 625938432 Jan 30 11:01 debug
-rw-r----- 1 root root 18708157 Jan 22 14:09 debug.1.gz
-rw-r----- 1 root root 5962190 Jan 20 04:42 debug.2.gz
-rw-r----- 1 root root 6663960 Jan 13 04:42 debug.3.gz
-rw-r----- 1 root root 6017086 Jan 6 04:42 debug.4.gz
-rw-r--r-- 1 root root 15720 Jan 30 08:41 dmesg
drwxr-xr-x 2 root root 6 Nov 22 2005 hotplug/
drwxr-xr-x 2 root root 6 Mar 15 2003 iptraf/
-rw-r--r-- 1 root root 292584 Jan 30 15:24 lastlog
-rw-r--r-- 1 root root 76 Mar 19 2006 ldap.log
-rw-r--r-- 1 root root 13963264 Jan 30 11:22 maillog
-rw-r--r-- 1 root root 480665 Jan 22 14:14 maillog.1.gz
-rw-r--r-- 1 root root 1552550 Jan 20 04:42 maillog.2.gz
-rw-r--r-- 1 root root 1901138 Jan 13 04:42 maillog.3.gz
-rw-r--r-- 1 root root 1651929 Jan 6 04:42 maillog.4.gz
-rw-r----- 1 root root 7544832 Jan 30 11:16 messages
-rw-r----- 1 root root 350784 Jan 22 14:18 messages.1.gz
-rw-r----- 1 root root 949681 Jan 20 04:42 messages.2.gz
-rw-r----- 1 root root 905660 Jan 13 04:42 messages.3.gz
-rw-r----- 1 root root 893489 Jan 6 04:42 messages.4.gz
-rw-r--r-- 1 root root 16024 Jan 30 09:01 ntp.log
drwxr-xr-x 2 root root 16384 Sep 16 14:12 packages/
-rw-r--r-- 1 root root 314054 Sep 16 14:12 postinst.log
drwxr-xr-x 4 qmaill root 41 Jan 9 2007 qmail/
drwxr-xr-x 2 root root 70 Mar 19 2006 removed_packages/
drwxr-xr-x 2 root root 70 Mar 19 2006 removed_scripts/
-rw-rw-rw- 1 root root 0 Jan 5 19:16 rsync.log
drwxr-xr-x 3 root root 8192 Jan 30 14:56 samba/
drwxr-xr-x 2 root root 12288 Sep 16 14:12 scripts/
-rw-r----- 1 root root 393216 Jan 30 12:01 secure
-rw-r----- 1 root root 89952 Jan 22 14:10 secure.1.gz
-rw-r----- 1 root root 248349 Jan 20 04:42 secure.2.gz
-rw-r----- 1 root root 249255 Jan 13 04:42 secure.3.gz
-rw-r----- 1 root root 253090 Jan 6 04:42 secure.4.gz
drwxr-xr-x 3 root root 4096 Jan 29 1994 setup/
-rw-r--r-- 1 root root 134801 Jan 30 15:52 snmpd.log
-rw-r----- 1 root root 0 Jan 27 04:43 spooler
-rw-r----- 1 root root 30 Jan 20 04:42 spooler.1.gz
-rw-r----- 1 root root 30 Jan 13 04:42 spooler.2.gz
-rw-r----- 1 root root 30 Jan 6 04:42 spooler.3.gz
-rw-r----- 1 root root 30 Dec 30 04:42 spooler.4.gz
drwxr-xr-x 2 nobody nogroup 23 Feb 12 2007 squid/
-rw-r----- 1 root root 5636096 Jan 30 12:03 syslog
-rw-r----- 1 root root 41021 Jan 22 14:53 syslog.1.gz
-rw-r----- 1 root root 20651 Jan 20 04:42 syslog.2.gz
-rw-r----- 1 root root 15736 Jan 13 04:42 syslog.3.gz
-rw-r----- 1 root root 25391 Jan 6 04:42 syslog.4.gz
-rw------- 1 root root 2498947 Jan 30 11:05 vsftpd.log
-rw-rw-r-- 1 root utmp 98304 Jan 30 15:24 wtmp
-rw-rw-r-- 1 root utmp 1852 Dec 21 13:03 wtmp.1.gz
Graag enkele aanwijzingen wat evt. verwijderd mag worden zonder schade?
Als een bestand verwijderd of verplaatst werd, is het dan noodzakelijk om middels touch een nieuw leeg bestand aan te maken voor de logging?
Alvast bedankt!
Erwin