Cloud-init is supposed among others, to set also the root password for a iscsi booted centos 8.2 server.
cloud-init.log showing this
2020-12-15 22:00:24,916 - util.py[DEBUG]: Running hidden command to protect sensitive input/output logstring: chpasswd for root
selinux is disabled and firewalld as well.
I suspected initially that password is set but user root is not being allowed to login via ssh, but after checking the sshd_config file I don't think that's the problem (PermitRootLogin and PasswordAuthentication both set to Yes).
Managed to set the root password with single-user mode and chroot.
Do you have any other ideas on what could be the root-cause of this behaviour?
Thank you
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…