[cPanel/WHM] Creating second WHM user with root privileges

n order to have more than one user with root privileges to handle WHM as a Reseller, there are several steps to take. You should login to your server via SSH and use these commands below:

useradd secondroot
passwd secondroot
usermod -aG wheel secondroot
echo "secondroot:all" >> /var/cpanel/resellers

Please take a note that “secondroot” should be changed into your wanted username. After performing the commands login into your WHM with root credentials and do the following:

1. Go to “Home“;

2. Press on “Resellers“;

cPanel Resellers

3. Then press “Edit Reseller Nameservers and Privileges“.
cPanel Edit Reseller Nameservers and Privileges

Here check all the settings for the new user in ACL the same as your root user has:

cPanel ACL

After saving the settings, you can login with your new user via WHM.

No Comments

Leave a Reply

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

Linux Applications
How to resolve spamming issue with postfix

How to resolve the spamming issue with your postfix mailserver having CWP. Before starting we should stop the postfix mailserver. service postix stop For start lets count the number of emails stuck in the mail server queue: postqueue -p | grep -c “^[A-Z0-9]” Select few similar emails and use IDs …

Web hosting control panels
How to manually import emails

Instructions for manual import of the emails to your CWP server. 1. Create all required mailboxes via CWP2. Login in each created mailbox (this will create required file and folder structure)3. Copy the emails (like any other files) in /var/vmail/DOMAIN.COM/USERNAME4. Fix Permissions (chown uploaded files vmail:mail) Example path for email …

Web hosting control panels
[VestaCP] Getting started with VestaCP

Introduction The Vesta Control Panel is a free, open source website control panel with website, email, database, and DNS functionalities built in. More information can be found on official web page: https://vestacp.com/ VestaCP Template In Time4VPS you are able to install VestaCP template really easy and fast, only with few …