What's new

Welcome to WebForum | Zimbabwe Web Hosting Forum.

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Ask question

Ask questions and get answers from our community

Answer

Answer questions and become an expert on all topics.

Contact us

Get in touch with the site administrator directly.

Forum Group

Join the Forum Whatsapp group for daily updates.
  • Thanks for participating in our community, Discuss and Learn. All Forum members are allowed to create threads and posts. Resources posted here should be CLEAN and SAFE. Do not post “offensive” posts, links, or images. Remain respectful of other members at all times.

How to add a Wheel user in WHM?

WebForum

Administrator
Staff member
Administrator
Moderator
Business
Joined
May 19, 2021
Messages
98
Reaction score
21
Points
8
Location
Bulawayo
Website
ecowebzim.com
Root login via SSH is disabled on all our Managed VPS servers for security reasons. However, we understand that some advanced users may want to login to their VPS as root, this can be accomplished by setting up a wheel user in WHM. The system grants users in the wheel group the permission to execute the su command, which allows a user to gain root or superuser access.

Code:
A wheel user has root / superuser access to your system. Please exercise extreme caution when setting up a wheel user, you may also remove / delete the user once your task has been accomplished.

Login to your WHM as root.

Create a new cPanel account and use a strong password. We are only concerned about the password and the username here, everything else can be just about anything.

step1.png

Give the user account SSH / Shell access.

step2.png

Select the Manage Wheel Users option and select the user you just created from the list and click on “Add to Group”.

step3.png

Now we have added the user to the wheel group.

Open Putty or the program that you use to connect to your server via SSH and login to the server as the user you just created:

Code:
ssh anythingyouwant@<yourserverip> -p1088

1088 is the default SSH port on all our Managed servers, please do not change this.

Once you are logged in as the user, type:

su –

You will be asked for your root password, enter the root password for your server and you now have root access to your VPS.

To remove the Wheel user simply select him from the list and click “Remove from Group”.

step4.png
 

Attachments

  • step3.png
    step3.png
    75.5 KB · Views: 1

Forum statistics

Threads
114
Messages
175
Members
89
Latest member
denzel
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top