about /tmp

Jerry Feldman gaf at blu.org
Sun Jan 30 11:12:57 EST 2005


On Sun, 30 Jan 2005 10:50:36 -0500
"James R. Van Zandt" <jrvz at comcast.net> wrote:

> Dave Peters <gameslover987 at yahoo.com> writes:
> 
> >Does anyone know how to change default setting on clean up /tmp?
> >There is default setup how many day to remove file on /tmp
> >directory. I have read about it but forget it. Does anyone know about
> >it?
> 
> On Debian, check:
>  /etc/default/rcS
>  /etc/init.d/mountall.sh
>  /etc/init.d/bootclean.sh
On SuSE:
YaST/System/Sysconfig Editor/System/Cron:
The following environment variables:
MAX_DAYS_IN_TMP
TMP_DIRS_TO_CLEAN
OWNER_TO_KEEP_IN_TMP
CLEAR_TMP_DIRS_AT_BOOTUP

Or, if you don't want to use YaST,, you can make the changes in
/etc/sysconfig/cron
For Fedora, I don't know the YaST equivalent to change the settings, but
/usr/sbin/tmpwatch is run by cron (see /etc/cron.daily). 



-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20050130/a3b42660/attachment.sig>


More information about the Discuss mailing list