The securetmp Script

Valid for versions 82 through the latest version


Last modified: July 21, 2022

Overview

The /usr/local/cpanel/scripts/securetmp script lets you mount your servers /tmp partition to a temporary file. The temporary file only uses 1% of your systems 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 scripts help documentation. --help
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

The servers_queue Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The auto-adjust-mysql-limits Script

Valid for versions 82 through the latest version Last modified: June 21, 2021...

The autossl_check Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup Script

Valid for versions 82 through the latest version Last modified: May 13, 2020 Overview...

The backup_restore_manager Script

Valid for versions 82 through the latest version Last modified: July 28, 2022...