Apr 23 2014 
Support Center » Knowledgebase » Linux VPS » How do I login to my server with direct root access disabled?
 How do I login to my server with direct root access disabled?
Solution You should have a regular user account setup as what's called a wheel user. (Essentially a user that is able to perform root-level actions.)

You will want to login to SSH as that user, and then type:

sudo su -

Once you enter you password the first time, sudo will remember it for a few minutes so it is not as hard as it sounds to prefix all commands with sudo as a habit (instead of doing 'sudo su -').

Once you are done doing any work you need to do as root, you can just type "exit" and it will log you out of the super user account and put you back to your regular login account.

The less time you spend as root, the better.


Article Details
Article ID: 84
Created On: Jan 23 2009 04:06 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Knowledgebase
Language:

Help Desk Software By Kayako eSupport v3.60.02