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

Le coin des experts

Un sujet bloquant ?
Une expertise à partager ?

On vous attend sur notre forum collaboratif. Déjà plus de 70 tutoriels en ligne (sysadmin, gaming, devops...) !

ça m'interesse
DEDIMAX DEDIMAX DEDIMAX DEDIMAX
DEDIMAX

Une question

À votre service !

Contactez-nous

Prendre contact