Skip to main content

How to Enable or Disable Compiler Access for cPanel Users

This guide explains how to enable or disable compiler access for cPanel users within WHM. This setting determines whether users can access the system's compilers (such as GCC) to compile software or scripts directly on the server.

This guide explains how to enable or disable compiler access for cPanel users within WHM. This setting determines whether users can access the system's compilers (such as GCC) to compile software or scripts directly on the server.

Before you begin

You will need:

  • Root access to the WHM interface

  • Server Administrator privileges

Enable or Disable Compiler Access

  1. Log in to WHM.

  2. Navigate to Home > Account Functions > Edit Anytime > Tweak New Account.

  3. Locate the Options section.

  4. Find the cPanel & WHM section within the options.

  5. Locate the Allow cPanel Users to Compile Programs setting.

  6. Select On to allow users to access compilers or Off to restrict them.

  7. Click Save at the bottom of the page.

Warning: Enabling compiler access allows users to execute commands that can impact system resources or security. Only enable this feature if your specific use case requires users to compile software directly on the server.

Confirm the result

  • If you enabled the feature, users will now have access to compiler tools in their cPanel environment.

  • If you disabled the feature, users will no longer be able to use compiler tools, and any existing compiler-related processes for those users will be restricted.

Limitations

This setting applies globally to all cPanel accounts on the server. If you only wish to restrict specific users while allowing others, you must manage those specific accounts via their individual permissions or by moving them to a different account type.

Did this answer your question?