Knowledgebase
can a jail shell su to root?
Posted by sharmaine1111, 04-06-2010, 11:05 AM | im using cpanel
can a jail shell su to root?
|
Posted by HostStellar_Jansen, 04-06-2010, 11:15 AM | If you mean the root access of the server, then no. A jail shell has restrictions on it that limit activities to your own account, this helps to prevent malicious activities to be run on the server.
|
Posted by luju, 04-06-2010, 11:54 AM | No can do. Root is user with all privileges.
Last edited by luju; 04-06-2010 at 12:02 PM.
|
Posted by techstar, 04-06-2010, 01:06 PM | Correct. A jail shell cannnot 'su' to root.
----------------------------------------
-jailshell-3.2$ su -
-jailshell: /bin/su: Permission denied
-jailshell-3.2$
----------------------------------------
This is what you get when a jailshell user tries to su to root.
- Techstar.
|
Posted by luju, 04-06-2010, 07:01 PM | Techstar: I am misread question. Sorry.
|
Posted by bvsonline, 04-30-2010, 05:01 AM | Yes. you could not su to root from jail shell
|
Posted by Extremeseo, 04-30-2010, 05:40 AM | if you mean that a user whom you have jailshell,then yes they cannot open the root access,and also even though you have not jailshelled any user and they are not in wheelgroup of ssh,then still they cannot "su" and login as root
thanks
kind regards
|
|
Add to Favourites
Print this Article |
Also Read