Cantech Knowledge Base

Your Go-To Hosting Resource

How to Grant Compiler Access to Users via WHM?

introduction

In a typical hosting server, only the root user is permitted to access the C compilers for security reasons. But in case your users need to compile code, then you can easily extend this access to specific accounts. WHM (Web Host Manager) provides a dedicated interface to grant or deny any user on your server for compiler access.

Why Grant Compiler Access?

Compiler access enables regular cPanel users to run specific commands that translate source code into executable programs. This is essential for users who develop and deploy applications requiring custom compilation on the server. WHM manages this access by putting the selected users into a special compiler group. This makes it possible for only trusted users the ability to run compiler tools.

Steps to Grant Compiler Access

To adjust these core security settings, you have to have complete root access to WHM. Follow these steps to allow specific users to use the compilers.

  1. Log in to WHM Root Account

The first thing you should do is to enter your WHM panel. To change the security settings of the server, log in with your full root access credentials.

      2. Select the Security Center

When you have logged in, you will see the Security Center option on the main navigation menu. Click on this option to enter the entire server’s security features.

       3. Click on Compiler Access

In the Security Center section, select and click the Compiler Access link. This brings you to the initial configuration page for compiler settings.

      4. Access Manage Compiler Group

There will be a section called Configure. In the section, there is a link that reads ‘Allow specific users to use the compilers’.

  • Interface Opens: This step will open the Manage Compiler Group interface. This is the main screen where you can add or remove users from the group that has compiler permissions.

      5. Add a User to the Group

You must select the account you want to grant access to from the list.

  • Select User: Find the list with the label Add a user to the compiler group. Choose the particular user from this list.
  • Add to Group: Click the Add to Group button.

WHM will quickly process the request. It will then display a success message and immediately add the selected user to the compiler group. Every user belonging to this category will now be provided with the required compiler access on your WHM hosting.

Steps to Disable the Compiler Access

You can easily withdraw compiler permissions in case a user no longer needs them.

  • Select User to Remove: Locate the list labeled Remove a user from the compiler group on the same interface. Choose the user to be removed.
  • Remove from Group: Click the Remove from Group button.

A success message will be shown in WHM. It will then exclude the user from the compiler group, hence it will not allow the user to access the C compilers.

Cantech’s Features in Server Security

We value a secure but flexible hosting environment at Cantech. Our hosting solutions provide root access to WHM. This provides you with granular control over sensitive tools like the Compiler Access utility. We enable you to comfortably control the compiler group. This ensures high security levels and, at the same time, addresses the developmental requirements of the targeted users.

Conclusion

The compiler access feature in WHM enables a root user to manage those who are permitted to run C compilers on the server. Granting this access involves adding a user to a specific compiler group. Similarly, the access can be disabled by removing them. The benefit of having this centralized management is that you have a great deal of security and control over your servers.

Frequently Asked Questions

Why is compiler access usually restricted only to root users?

Compiler access is usually restricted to root users because compilers can be misused. They can be used to create and run malicious programs, which is a great security risk to the server.

What is the role of the ‘Compiler Group’ in this process?

The Compiler Group is a special group on the server. Any user placed into this group automatically obtains the necessary permissions to use the C compilers.

Where is the Compiler Access option located in WHM?

You can find the Compiler Access option by logging into WHM. Then find the Security Center section in the navigation menu.

What happens immediately after I add a user to the compiler group?

WHM provides the user with the required compiler access immediately after adding the user. They are able to begin compiling code on the server right away.

What must I click to start managing the compiler users?

You must click the link that says Allow specific users to use the compilers inside the Compiler Access section. This opens the interface for managing the user group.

April 20, 2026