Archive for June, 2011


Cron permissions

Cron permissions

The following two files play an important role:

- If this file exists, then you must be listed therein (your username must be listed) in order to be allowed to use cron jobs.

/etc/cron.deny - If the cron.allow file does not exist but the /etc/cron.deny file does exist, then you must not be listed in the /etc/cron.deny file in order to use cron jobs.

Please note that if neither of these files exists, then depending on site-dependent configuration parameters, only the super user will be allowed to use cron jobs, or all users will be able to use cron jobs.

Integrating your custom software with cPanel & WHM

Software development kit (SDK) contains instructions and sample code describing the methods you can use to interact with our products.

Getting started

For those who are new to developing software that integrates with cPanel & WHM, you should review the API documentation. API allows you to access cPanel & WHM through your code.

API documentation:


What is Database Mapping?

What is Database Mapping?

Database Mapping (DB Mapping) is the process by which cPanel & WHM maps the relationship between cPanel accounts and their database user, database virtual users, and databases. The DB Mapping code is responsible for Database Prefixing and assists with Account Transfer mechanisms.

Benefits of Database Mapping

The benefits of DB Mapping revolve around two key points:
• Account-database relationships are preserved when transferred from non-cPanel accounts.
• Database usernames can be the optimal length.

DB Mapping is available in all builds of cPanel & WHM 11.28 and later.


Looking for Outbound spam

Looking for Outbound spam

Log files where we can look for more details are.


The following to the exim configuration to enable some extended logging that greatly improves the ease in tracking down on-server spammers:

In WHM > Exim Configuration Editor > Switch to Advanced Mode > in the first textbox add the following line and then Save:

log_selector = +arguments +subject

This tells exim to log the path on disk from where the email was executed and the subject of the email.

suexec, if enabled, will run CGI scripts as the owner of the script file, typically the cPanel account name.
phpsuexec, if enabled, will run PHP scripts in the same manner as CGI scripts.

The NLnet Labs Name Server Daemon (NSD) is an authoritative RFC compliant DNS nameserver. It was ?rst conceived to allow for more genetic diversity for DNS server implementations used by the root-server system and it has been developed for operations in environments where speed, reliability, stability, and security are of high importance. NSD is currently used on root servers such as and is also in use by several top-level domain registries.

nsd - Package Open-source nameserver daemon.

Update script affected by the setting


NSD is an authoritative only, high performance, simple and open source name server. The latest current stable release is NSD 3.2.8.

Next »