Allow root login

Allow root login

Several configurations not allow root login. Follow these steps to allow root login.

SSH Configuration Update

In order to allow root login, you have to edit /etc/ssh/sshd_config file:

sudo nano /etc/ssh/sshd_config

Then, change the PermitRootLogin value from without-password to yes. Save and exit.

Restart SSH service with this command:

sudo service ssh restart

Root Password

Set root password:

sudo passwd root

Continue reading

Community zone

A question ?
Find answers and share your knowledge !

We are waiting you on community zone. More than 70 guides (sysadmin, gaming, devops...) !

Let me check
DEDIMAX DEDIMAX DEDIMAX DEDIMAX
DEDIMAX

Need a quote ?

Write us !

Contact us

Prendre contact