$ sudo passwd root
2. 要讓 root 可以從 ssh 登入
- Login, and edit this file:
sudo nano /etc/ssh/sshd_config
- Find this line:
PermitRootLogin without-password
- Edit:
PermitRootLogin yes
$ sudo systemctl restart ssh.service
參考:
http://raspberrypi.stackexchange.com/questions/48056/login-as-root-not-possible
沒有留言:
張貼留言