This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

ROOT Login
#4
RE: ROOT Login
You can use a temporary root login setup and enable/disable it as needed. This way, you can enable root SSH password login, do what you need, then disable it.

Use at your own risk!

OS: Ubuntu 14.04

Enable: (using normal user login in terminal)

Quote:Edit /etc/ssh/sshd_config:
sudo nano /etc/ssh/sshd_config

Comment out the following line:
PermitRootLogin without-password

Just below it, add or edit the following line:
PermitRootLogin yes

Then restart SSH:
sudo service ssh restart


Disable: (using normal user login in terminal)
Quote:Edit /etc/ssh/sshd_config:
sudo nano /etc/ssh/sshd_config

Find:
PermitRootLogin yes

Change to:
PermitRootLogin no

Then restart SSH:
sudo service ssh restart

Always remember to disable the login when finished!

I suggest you save this info in a text file on your desktop for quick reference.
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Messages In This Thread
ROOT Login - by CMs222 - 01-16-2018, 08:07 PM
RE: ROOT Login - by TGates - 01-17-2018, 12:41 AM
RE: ROOT Login - by CMs222 - 01-18-2018, 02:31 AM
RE: ROOT Login - by TGates - 01-19-2018, 06:52 AM
RE: ROOT Login - by CMs222 - 01-19-2018, 10:54 AM
RE: ROOT Login - by CMs222 - 01-23-2018, 05:17 AM
RE: ROOT Login - by TGates - 01-25-2018, 07:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Unable to login Getting Application Error: [0204] king4m 0 2 ,978 04-02-2020, 06:06 PM
Last Post: king4m
Not able to login to Sentora { Application Error: [0204] } ijsje 23 69 ,076 09-20-2019, 12:00 AM
Last Post: TGates
root limits sentora thanhlan2103 0 3 ,242 11-02-2018, 06:11 PM
Last Post: thanhlan2103

Forum Jump:


Users browsing this thread: 1 Guest(s)