WHM can allow selected users to run the server’s C and C++ compilers while other unprivileged users remain restricted. This changes access to installed compilers; it does not install a compiler.

Allow a specific user

  1. Log in to WHM with permission to manage compiler access.
  2. Open Security Center > Compiler Access.
  3. Check the current server policy. Selective exceptions are relevant when general unprivileged compiler access is disabled.
  4. Click Allow specific users to use the compilers.
  5. Select the user and click Add to Group.
  6. Confirm the user appears in the allowed group.

manage compiler group

Remove an exception

Select the allowed user and choose Remove from Group, then verify the change. Do not choose Enable Compilers if the intention is to permit only selected users, because it enables access for all users.

Compiler restrictions are one part of server policy and do not prevent every way of running code.