I'm trying to secure the /tmp directory(es). CSF gives me this errors:
/tmp should be owned by root:root
/var/tmp should be owned by root:root
/usr/tmp should be owned by root:root
When I run the command:
chown -R root:root /tmp
then
chown -R root:root /var/tmp
and then
chown -R root:root /usr/tmp
the tmp is set and secured ... ... until the next reboot - then the error appears again in the CSF.
How can I "permanently" chown the /tmp directory(es) and after the reboot the /tmp, /var/tmp and /usr/tmp to be owned by root:root (without the need of a cron job) ?
/tmp should be owned by root:root
/var/tmp should be owned by root:root
/usr/tmp should be owned by root:root
When I run the command:
chown -R root:root /tmp
then
chown -R root:root /var/tmp
and then
chown -R root:root /usr/tmp
the tmp is set and secured ... ... until the next reboot - then the error appears again in the CSF.
How can I "permanently" chown the /tmp directory(es) and after the reboot the /tmp, /var/tmp and /usr/tmp to be owned by root:root (without the need of a cron job) ?