Ubuntu 14.04 如何开启root登陆

2015-10-30 阅读 170

Simply adding a password for root is not enough for Ubuntu 14.04 Server.

You also need to edit /etc/ssh/sshd_config, and comment out the following line:

```
PermitRootLogin without-password

```

<p>Just below it, add the following line:</p>


```
PermitRootLogin yes 
```

<p>Then restart SSH:&nbsp;</p>


```
service ssh restart
```

<p>&nbsp;</p>

UBUNTU

更新于 2023年03月28日