Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread Sorin Srbu
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger Hoffmann Sent: Saturday, December 12, 2009 11:22 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sat, Dec 12, 2009 at 10:05 PM, Thomas

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread Eero Volotinen
Quoting Sorin Srbu sorin.s...@orgfarm.uu.se: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger Hoffmann Sent: Saturday, December 12, 2009 11:22 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread Sorin Srbu
-Original Message- From: Eero Volotinen [mailto:eero.voloti...@iki.fi] Sent: Monday, December 14, 2009 9:27 AM To: CentOS mailing list; Sorin Srbu Cc: 'CentOS mailing list' Subject: Re: [CentOS] Deleting contents of /tmp on shutdown I have the /tmp in memory, which effectively deletes

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Eero Volotinen Sent: Monday, December 14, 2009 3:27 AM To: CentOS mailing list; Sorin Srbu Cc: 'CentOS mailing list' Subject: Re: [CentOS] Deleting contents of /tmp on shutdown

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread tdukes
To: CentOS mailing list; Sorin Srbu Cc: 'CentOS mailing list' Subject: Re: [CentOS] Deleting contents of /tmp on shutdown Quoting Sorin Srbu sorin.s...@orgfarm.uu.se: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-14 Thread Ross Walker
Sent: Monday, December 14, 2009 3:27 AM To: CentOS mailing list; Sorin Srbu Cc: 'CentOS mailing list' Subject: Re: [CentOS] Deleting contents of /tmp on shutdown Quoting Sorin Srbu sorin.s...@orgfarm.uu.se: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-13 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger Hoffmann Sent: Saturday, December 12, 2009 10:18 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sun, Dec 13, 2009 at 3:10

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-13 Thread James Hogarth
:18 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sun, Dec 13, 2009 at 3:10 AM, Thomas Dukes tdu...@sc.rr.com wrote: 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

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-13 Thread Benjamin Donnachie
2009/12/13 Thomas Dukes tdu...@sc.rr.com: The udp.pl file was owned by apache.  Not sure that would matter.  I have no cluse as to how it got there.  The date on the file was oct 09 and those logs have already been rotated out. I'd recommend reinstalling from scratch, just to be safe.

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Keith Keller
On Sat, Dec 12, 2009 at 02:33:33PM -0500, Thomas Dukes wrote: I use to have a line of code in /etc/init.d/syslog (I think this was the file) to delete the contents of my /tmp directory on shutdown. In /etc/init.d/syslog? That seems like a bad place to put it, even if it does check (as I assume

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller Sent: Saturday, December 12, 2009 4:50 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sat, Dec 12, 2009 at 02:33:33PM

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Geerd-Dietger Hoffmann
On Sat, Dec 12, 2009 at 10:05 PM, Thomas Dukes tdu...@sc.rr.com wrote: -Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller Sent: Saturday, December 12, 2009 4:50 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Geerd-Dietger Hoffmann Sent: Saturday, December 12, 2009 5:22 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sat, Dec 12, 2009 at 10:05

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Larry Brower
-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

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Larry Brower Sent: Saturday, December 12, 2009 6:47 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown -BEGIN PGP SIGNED MESSAGE

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Keith Keller
On Sat, Dec 12, 2009 at 07:35:51PM -0500, Thomas Dukes wrote: Thanks for the link. It's a little over my head though. No it isn't. The main thing you need is mount -t tmpfs -o size=100M,mode=0755 tmpfs /var/www/www.example.com/cache You would adjust size to be the size of the vmdisk you

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Thomas Dukes
-Original Message- From: centos-boun...@centos.org [mailto:centos-boun...@centos.org] On Behalf Of Keith Keller Sent: Saturday, December 12, 2009 9:19 PM To: CentOS mailing list Subject: Re: [CentOS] Deleting contents of /tmp on shutdown On Sat, Dec 12, 2009 at 07:35:51PM

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread Geerd-Dietger Hoffmann
On Sun, Dec 13, 2009 at 3:10 AM, Thomas Dukes tdu...@sc.rr.com wrote: 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

Re: [CentOS] Deleting contents of /tmp on shutdown

2009-12-12 Thread John R. Dennison
On Sun, Dec 13, 2009 at 03:17:37AM +, Geerd-Dietger Hoffmann wrote: I would make it a little bigger as 100M depending on how much memory you have. And the mode should be the same as /tmp would normally be = mode=777 :) /tmp is 1777 by default.