Re: deleting content of /tmp
On Sat, 24 Mar 2007 16:12:10 -0300
"Jorge Peixoto de Morais Neto" <email@example.com>
> > Can someone advise me on the pros and cons of deleting the
> > contents of /tmp/ as part of general security conscious
> > non-paranoia.
> >From the FHS:
> tmp : Temporary files
> The /tmp directory must be made available for programs that
> require temporary files.
> So it is safe to delete /tmp when you know that no running
> programs are using any file there. You can delete /tmp in the
> beginning of the boot process, as the FHS itself suggests. I think
> this already happens automatically on Debian, but I'm not sure.
Several years ago I was using RedHat. It had a crontab which daily
deleted any files in /tmp which were over a certain age.
I have difficulty believing that any programs would hold onto any
files that are a month old or possibly even a week old ... for a
machine which does not reboot.
Men are disturbed not by things, but by the view which they take of