How to Create a WHM Privileged/Full Control User

I have been working on WHM/cPanel service since long. Sometimes, we get request from our customer that they would like to manage their VPS fully/partially. In such cases, we can directly provide them root user access or we can provide some privileges access based on the requirement. Here, I shall describe how to achieve the goal.

Step 1: Login to shell by using root account.

Step 2: Create desired user. In this case it is newuser. You have to change the username as per your requirement.

[root@vps ~]#useradd newuser

[root@vps ~]#passwd newuser

[root@vps ~]#usermod -aG wheel newuser

[root@vps ~]#echo "newuser:all" >> /var/cpanel/resellers

After performing the above operation, you will be able to login into the system using ssh and WHM. This “newuser” has the full privilege in the system.

Suppose, you need a user with some privileged access. You may provide such permission following below procedure.

Step 3: Login to WHM using root account

Step 4: Search and click on “Edit Reseller Nameservers and Privileges” from the left search bar. You may provide the permission from there as per your requirement.




By default, it is given full permission.

Hope this helps.


Comments

Post a Comment

Popular posts from this blog

Install a Comodo/Sectigo Domain Validation SSL certificate in Zimbra

Adding DKIM record (1024 bit) in Zimbra

Recipient Limit of a Message in Zimbra