
Originally Posted by
Getenks
I try login via Putty and i login successfully to
some -jailshell-3.00$ ; anyidea what this is and how do I goto the root of the remote server
A "jailed" shell a more restrictive shell environment used for security purposes to help reduce the likelihood of damage from malicious use or abuse.
If your SSH configuration allows direct login as root and assuming root (Administrator) access is available, then you could simply enter a username of "root" and the root password when authenticating (e.g., when connecting via PuTTY).
If direct root login is disabled, which the System Administrator would know, then it may be necessary to use a wheel user to login first followed by logging-in as root using the "su" command as detailed further below. To access the system as the root user the password for "root" must be known. To login as a non-root user first, then switch to root, it is required to have the non-root user added to the "wheel" group on the server; this may accomplished manually via SSH (if already logged-in as root) or via root access to WHM.
WHM may be accessed via one of the following examples where "host" should be replaced by the server hostname, server IP address, or one of the hosted domain names:
Code:
http://host/whm
http://host/securewhm
http://host:2086
https://host:2087
Via root access to WHM it is possible to change the restrictive "jailed" shell to a regular shell such as bash. Once logged-into WHM as root or with root privileges, the shell may be changed to bash using the feature at the following menu path:
WHM: Main >> Account Functions >> Manage Shell Access
Documentation: Manage Shell Access
To add the non-root user to the wheel group, the following feature may be used:
WHM: Main >> Security Center >> Manage Wheel Group Users
Documentation: Manage Wheel Group Users
Once the user has a normal bash shell, and once it is added to the wheel group, you may now use that user account to access the server and then log-in as root using a command like the following, where you are prompted to enter the root password: