How to Create a WHM Reseller Without an Associated Domain
Valid for versions 82 through the latest version
Version:
82
Overview
You can create administrative user accounts in WHM that do not correspond to a cPanel account. These accounts allow a user, such as an employee, to access WHM without root access and perform the following tasks:
-
Review bandwidth reports.
-
Reset passwords.
-
Configure mailboxes.
-
Suspend and unsuspend accounts.
-
Manage DNS entries.
Create a WHM reseller account without an associated domain
To create a WHM reseller account without an associated domain, perform the following steps:
username
represents the desired account username.
-
Connect to the server via SSH as the
root
user. -
Create a new user with the following command:
adduser username
-
Set the new user’s password with the following command:
passwd username
-
Set the permissions for the new user’s home directory with the following command:
chmod -v 711 /home/username
-
Create an entry in the
/var/cpanel/resellers
file forusername
with the following command:echo "username:" >> /var/cpanel/resellers
Important:Make certain that you follow step 9 and select the desired permissions for this user. -
If the
/var/cpanel/users/username
file exists, open that file with a text editor and remove the following line:DNS=
-
Log in to WHM as the
root
user and navigate to WHM’s Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges). -
Select username from the menu and click Submit.
-
Select the checkboxes that correspond to the desired user permissions. Click Save to save these changes.
Remove a WHM reseller account without an associated domain
To remove a WHM reseller account without an associated domain, perform the following steps:
username
represents the account’s username.
-
Connect to the server via SSH as the
root
user. -
Open the
/var/cpanel/users/resellers
file and removeusername
from the file. -
Remove the
/var/cpanel/users/username
file. -
Remove the user file
username
in the/var/cpanel/users/
directory. To do this, run the following command:rm /var/cpanel/users/username
-
Open the
/var/cpanel/resellers
file and remove theusername
user entry from the file. -
Remove the user from the system with the following command:
userdel username