LBDonovan / image-builder

Image builder
http://beagleboard.org/source
MIT License
0 stars 0 forks source link

Can't login with root #2

Open LBDonovan opened 7 years ago

LBDonovan commented 7 years ago

There's no root password but ssh doesn't let you login as root, you have to login as user 'bela' password 'a' then sudo su. Probably an issue with the ssh config

giuliomoro commented 7 years ago

edit /etc/ssh/sshd_config to allow root login over ssh and also to allow empty password:

32c32
< #PermitRootLogin prohibit-password
---
> PermitRootLogin yes
57c57
< #PermitEmptyPasswords yes
---
> PermitEmptyPasswords yes

Note: apply this change AFTER you installed openssh-server