Need help?

Our experts have had an average response time of 12.14 minutes in September 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

DirectAdmin create user – How we create it and fix related errors

by | Feb 16, 2021

In the DirectAdmin account, it seems to be a simple task to create a user. However, errors might appear while creating this user.

Normally, the major reason behind these errors includes a missing home directory, a full home directory.

Here at Bobcares, we receive requests to create a user in the DirectAdmin account and also fix its related errors as a part of Server Management Services.

Today, let’s see how we can create a user and review a few common errors. Also, let’s see how our Support Engineers fix them.


How we create a user in DirectAdmin

DirectAdmin is one of the easiest Control Panels. It is popular because of its graphically designed control panel.

Now, let’s see how we create a user in DirectAdmin account as a Reseller:

1. First, we log into the DirectAdmin account and click on the ‘Add New User’ option available.

2. Next, we insert the details to create a user

3. Then we hit the submit button

4. Finally, we return back to the reseller homepage to view the created user.


Few common errors while creating a user in DirectAdmin

Errors are common and this can occur during the installation or creation of any user. Let’s now take a look at different errors that occur during the user creation.


1. Cannot find a home directory

In some cases, the /home/username folder will not be created with correct permissions automatically after running the useradd program.

Or else there can be a delay after the program exists before the UID/GID values actually show up in the passwd file.

In this case of long sync delay, we can fix it by creating a wrapper around the useradd.

Our Support Engineers fix this by creating a wrapper using the below commands:

cd /usr/sbin
mv useradd useradd.orig
nano useradd

Then, we enter the below code into the new useradd file

/usr/sbin/useradd.orig [email protected]
sleep 15;
exit $RET;

Here, the sleep 15 is the 15-second delay. Then, we update the folder permissions using the command after saving the user wrapper:

chmod 755 useradd


2. Disk full

It is very important to make sure that the disk space of the server is all good. Sometimes, a full disk will create trouble in the server.

Recently, one of our customers approached us with the below error message:

Error creating User: useradd.orig: group 'xxxxx' does not exist
Cannot find a home directory after the system user creation for xxxxx
The home directory for xxxxx was not created.

On investigating the error, our Support engineers found that the disk space of the /home directory was full.

So we suggested removing any unwanted contents from the folder or increase the disk space in the server.


3. Incorrect Permissions

Right permission is a must for any file or folder to work. Any improper permissions will lead to errors. Similarly one of our customers experienced the below error message due to incorrect permissions

Unix User created successfully

User's System Quotas set
User's data directory created successfully
Domains directory created successfully
Error Creating /home/USER/domains
Parent directory does not allow write, or one of the directories didn't allow search (execution) permission

Our Support Engineers executed the below command to check the permission of

ls -ld /home

Through the output, we could confirm that it was improperly set. So we ran the below command to change the permissions

chmod 755 home

Finally, this fixed the error

[Need assistance in creating a user in DirectAdmin? – We’ll help you with it]



In short, DirectAdmin provides an easy way to create a user as a reseller. And the errors during its creation are mainly due to home directory unavailability or improper permissions or due to the disk being full. Today, we saw how we can create a user and fix errors related to it.


Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.


var google_conversion_label = "owonCMyG5nEQ0aD71QM";


Submit a Comment

Your email address will not be published. Required fields are marked *

Privacy Preference Center


Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]


Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid


Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie


These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.