The securetmp Script
Valid for versions 82 through the latest version
Version:
82
Last modified: July 21, 2022
Overview
The /usr/local/cpanel/scripts/securetmp
script lets you mount your server’s /tmp
partition to a temporary file. The temporary file only uses 1% of your system’s available disk space in the /usr
partition, for a minimum of 500MB, up to a maximum of 4GB. Securing this partition provides extra security for your server.
For more information about securing your server, read our Tips to Make Your Server More Secure documentation.
Run the script
To run this script on the command line, use the following format:
/usr/local/cpanel/scripts/securetmp [options]
Options
Use the following options with this script:
Option | Description | Example |
---|---|---|
--auto |
Skip all interactive customization questions. | --auto |
--daemonize |
Run this script as a background process.
Note:
The script runs this option by default.
|
--daemonize |
--install |
Include this script in the system startup process. | --install |
--uninstall |
Remove this script from the system startup process. | --uninstall |
--help |
Display the script’s help documentation. | --help |