$1 hosting

How to Create Wheel User In WHM?

Table of Contents

How to Create a Wheel User In WHM?

In this blog, we are going learn how to prevent any user from logging in as a root to your server. This will help secure your server from hackers who try to guess your root password. So how will you log in this root? Well! The only use what we call wheel user which is allowed to promote itself to root in a shell. We will also set your server who requires Secure Connections to the cPanel and WHM interface.

Follow the below steps:

Step 1- Let’s first login to WHM.

Step 2 – Here we are in the WHM home interface. Now we will create a new user with the dummy domain as wheeluser.com and username as wheeluser.com. Once the user has been created we will receive a confirmation message.

Step 3 – Then we will scroll down to “Security Center” and click “Manage wheel group users” and a confirmation message will appear.

Step 4 – Select the users that you wish to allow promoting themselves to Root. In the following screenshot, you can see that I have selected the new user “wheeluser” to allow it promoting as a Root user.

Step 5 – Click “Add to a group”. A confirmation message will appear.

If you want to go ahead and disable root from logging in directly, you need to do that from the command line i.e. SSH. Run the following command to open SSH’s configuration file.

# vi /etc/ssh/ssh_config

Step 6 – Then add the following line

PermitRootLogin no

Step 7 – Then save the file.

Step 8 – Then you will need to restart the SSH server. Scroll down to restart services and click SSH server. Click “Yes”. A confirmation message will appear and the changes will be active.

Step 9 – The next time when you want to use root in the shell, you will need to login as a user in the wheel group. Then issue the su – command.

Conclusion: In this way, you can create and manage wheel group user.

Visit: Hostripples!

Best Web Hosting Company


Vishwajit Kale
Vishwajit Kale blazed onto the digital marketing scene back in 2015 and is the digital marketing strategist of Hostripples, a company that aims to provide affordable web hosting solutions. Vishwajit is experienced in digital and content marketing along with SEO. He's fond of writing technology blogs, traveling and reading.

Recent Posts

Updated cPanel License Price in Jan 2025: A Comprehensive Guide

Are you ready for another cPanel price adjustment? As we have approached January 2025, cPanel has rolled out significant changes…

2 weeks ago

Finding Your Fit: Website Builder or WordPress for Your Site?

In this growing digital world, having a website is not enough—it’s a crucial and much-needed option. But here's the challenge…

2 weeks ago

From Hobbyist to Professional: Selling Photos Online

In today's digital age, the line between hobby photography and professional photography has become increasingly blurred. With the rise of…

3 weeks ago

Windows Web Hosting: Essential Insights for Beginners

Are you taking your first steps into the world of web hosting? You're not alone. Every day, countless individuals and…

3 weeks ago

Crafting a Professional Email: Step-by-Step Guide

Due to growing digitalization, Email Communication has become the backbone of professional interactions. Yet, surprisingly, many professionals struggle to craft…

1 month ago