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
rootuser. -
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/resellersfile forusernamewith the following command:echo "username:" >> /var/cpanel/resellersImportant:Make certain that you follow step 9 and select the desired permissions for this user. -
If the
/var/cpanel/users/usernamefile exists, open that file with a text editor and remove the following line:DNS= -
Log in to WHM as the
rootuser 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
rootuser. -
Open the
/var/cpanel/users/resellersfile and removeusernamefrom the file. -
Remove the
/var/cpanel/users/usernamefile. -
Remove the user file
usernamein the/var/cpanel/users/directory. To do this, run the following command:rm /var/cpanel/users/username -
Open the
/var/cpanel/resellersfile and remove theusernameuser entry from the file. -
Remove the user from the system with the following command:
userdel username