-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The Wednesday 2007-05-30 at 10:00 +0800, tino perez wrote:

> Too late, now the machine wont boot! :)

X-)


> Seriously.. what directories are safe to clean?
> 
> i too had a problem few-moths ago in where my system run out of space in
> a few short days after I inadvisable installed a intrusion detection
> system that created huge log files... 

Well, /tmp is prety safe. Then there is /var/tmp, which some times is a 
link to /tmp, sometimes not. I don't know why there are two temp dirs.

   In fact, I have noticed that my "/etc/sysconfig/cron" doesn't have 
   /var/tmp included to cleanup. 

   Correction,  it is included, but as those files are owned by root, they 
   are not cleaned up. Plus, there are two new variables:

   MAX_DAYS_IN_LONG_TMP
   LONG_TMP_DIRS_TO_CLEAR

  The name "LONG_TMP" of the variables must be indicative of something :-?


Then, there are programs that use their own temporary space, which might 
be under /tmp or not.

Plus, some old files have to be purged by their own applications. Printer 
queues, fax, mail... usually, somewhere under /var/spool.

And there are some that don't clean up; for instance, snort.


Jobs for the admin!  ;-)
 

- -- 
Cheers,
       Carlos E. R.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFGXVDxtTMYHG2NR9URAm0BAJ0b8ra3Uh/2ZGVXiuKWKFtUK8E7lACeJHQ9
Yn1QyHgfkwk1IlwPYrBtrXk=
=Jfgn
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to