Introduction
When the following script is run
/scripts/securetmp
it adjusts the size of your /tmp partition, as well as adjusts your server's /tmp mount settings. If the Server Administrator makes customizations to /tmp's mount, the changes would be overridden by the script.
Procedure
To disable the securetmp use the following steps.
1) Execute the following script.
/scripts/securetmp
2) When the following prompt appears, enter "y" to disable the script.
Would you like to disable securetmp from the system startup? (y/n) y
3) Create the following touch file to disable its execution entirely.
mkdir -p /var/cpanel/disabled ; touch /var/cpanel/disabled/securetmp
To undo the securetmp disable you need to remove the touch and run the script again.
1) Remove the touch file with:
/bin/rm -f /var/cpanel/disabled/securetmp
2) Execute the securetmp script again with specific answers.
/scripts/securetmp
and answer with n, y, n as in the following example:
Would you like to secure /tmp & /var/tmp at boot time? (y/n) n
securetmp will not be added to system startup at this time.
Would you like to disable securetmp from the system startup? (y/n) y
Would you like to secure /tmp & /var/tmp now? (y/n) n
/tmp & /var/tmp will not be secured at this time.
We have this information on our documentation here as well.
Comments
0 comments
Article is closed for comments.