/etc/init.d/cpanel stop /etc/init.d/httpd stop /etc/init.d/mysql stopNext, unmount /tmp from the current secured mount:
umount -l /tmp umount -l /var/tmpNext, backup the current secured mount:
mv /usr/tmpDSK /usr/tmpDSK_backNext, edit:
/scripts/securetmp...and change the variable for $tmpdsksize to what size you want, in kilobytes
Next, run the securetmp script:
/scripts/securetmpFinally, restart the services stopped previously:
/etc/init.d/cpanel start /etc/init.d/httpd start /etc/init.d/mysql startYou can confirm the size of /tmp by checking the output of:
df -h
No comments:
Post a Comment