Showing posts with label WHM. Show all posts
Showing posts with label WHM. Show all posts

How to enable ssh access for root in WHM Godaddy VPS Hosting

We can enable the root access via Assigning the root access permission to and existing user.

1. First make sure you have one hosted domain on the WHM like 'asdf.com' and username is 'oneuser' password is 'mypassowrd'

2. Second login your WHM 



3. After login type in search 'Manage Wheel Group' or go to Security>Manage Wheel Group Users and make sure your user 'one' is in the Wheel group, you can add this in the group this group defines who is able to use su command. (most of the time you cant add the root user).



4. After #3 complete again search in WHM for 'Manage Shell Access' and where you can 'Normal Shell' to your user 'oneuser'


5. Login as normal user in SSH after login success you can use below command to awitch root

su - root

6. Not it will ask for password you can use the current user password or the whm user password to enter the root.

Install Ioncube load in Godaddy WHM VPS hosting

To install the IonCube loader in Godaddy VPS hosting. First you need to Shell root access of your server you need to follow the below stepls:



1. Give the root access to your user 'hostusername' in WHM
    This is the username of the hosted site on you WHM account
2. In 'WHM' got to 'EasyApache' then got to 'Exhaustive Options' the select the IonCube Loaders
3. Open Shell via Putty
4. Login as the normal user you have 'hostusername' and  this 'thisuserpassword'
5. After login success use the below command to switch the root user (remember this command should only run as root user.)

/scripts/phpextensionmgr install IonCubeLoader

It will show the install success message in shell but confirm in you php program you can check using the phpinfo() method.

Students Tech Life