Skip to Content

User prvilege escalation for particular time

How a normal user acquire root privilege for a particular period of time


Overview: This article details how a normal user can temporarily gain root privilege with administrator permission. By adding the server to Ezeelogin GUI and enabling sub SSH, the user logs in with limited access. With granted permissions, they retrieve the root password using "ezinfo" and log in manually.


A normal user can attain root privilege for particular time if the administrator grants permission, the following are the steps

The server must be added into the Ezeelogin GUI as the root user

Step 1. Enable the sub ssh or the pass user feature to the user ,so that the user will be logging into the server as the user you decide 

 After enabling the sub ssh feature, the user can access the server only with the limited privilege that the user have.

Step 2. Grant privilege for the user to view server password from Access control -> User_action -> enable view server details and view server password

Step 3. From the gateway server login to the particular server's back-end and  type the command " ezinfo ", you'll see the server details and the password as follows

copy the root password and manually login to the server by the following command

This only works if the admin give privilege to the user to view the sever details

Related Article