Re: Deleting contents of /tmp on shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



 

> -----Original Message-----
> From: centos-bounces@xxxxxxxxxx 
> [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Larry Brower
> Sent: Saturday, December 12, 2009 6:47 PM
> To: CentOS mailing list
> Subject: Re:  Deleting contents of /tmp on shutdown
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thomas Dukes wrote:
> <snip>
> >>
> >> I have the /tmp in memory, which effectively deletes everything on 
> >> reboot. Maybe another solution?
> >>
> >> Cheers Didi
> > 
> > Hi Didi,
> > 
> > I read that was an option also.  How would I move my /tmp to RAM?
> > 
> > TIA
> > 
> > _______________________________________________
> > CentOS mailing list
> > CentOS@xxxxxxxxxx
> > http://lists.centos.org/mailman/listinfo/centos
> 
> +1 for tmpfs :)
> 
> Heres an example:
> 
> http://www.howtoforge.com/storing-files-directories-in-memory-
> with-tmpfs
> 
> 

Thanks for the link.  It's a little over my head though.  I run a simple
system that requires very little involvement on my part.

Today, I found upd.pl in my tmp directory.  The date was oct 09.  I also
found my /etc/passwd and /etc/shadow had been changed with a user of
0Profile added.  I deleted the old files and restored those from backup.  I
ran my chkrootkit and installed mod_security.  SSH is not running so I don't
know how this happened.

I'm running CentOS 5.4 and everyone should check their system!!

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux