How to convert a user to a reseller in DirectAdmin

As of April 2021, there is no way to assign reseller abilities to a user from the DA GUI. You must use instead shell commands.

How to convert a user account to a reseller account:

  1. Log into your DA server via SSH
  2. Run the commands:
# cd /usr/local/directadmin/scripts
# ./user_to_reseller.sh USERNAME

The USERNAME has now reseller privileges.

directadmin user reseller
DirectAdmin user to reseller conversion

The output of the command executed on our test server:

[root@web /]# cd /usr/local/directadmin/scripts
[root@web scripts]# ./user_to_reseller.sh plothost
Re-configuring user directory /home/plothost.
Re-configuring DirectAdmin files.
Removing user from the other reseller.
Adding reseller to  reseller list
Changing user owner
User plothost has been converted to reseller.
[root@web scripts]#

NOTE: the USERNAME is the account name – like “plothost” for example.

Related articles:
How to convert a reseller to a user in DirectAdmin

Leave a Reply