[13:37] Hi, I am trying to set up a qemu VM (Arch Linux) via cloud-init as a learning exercise and I can't log in as the user I am adding after the VM booted. My current user-data looks like this: http://ix.io/4c5P [13:37] The password is just "password" [13:38] If I mount the resulting qcow2 I can find that the user exists in passwd, and the hash appears in the shadow file. [13:38] Warepire: and what is listed in the sshd config? as you explicitly set ssh_pwauth to false [13:39] or use the ssh key [13:39] Currently just trying to log in via the console [13:40] ah [13:43] The exact line that shows up in shadow is testuser:!$6$rounds=4096$j5nCG.IE3IfcB4Jb$FqRhNISfmvMktMwb3Olu3BsKXFZUYC2Bwsg9dTNO55/Oz9foIoecnv3lCHY2sVVmoUNCYOYPCkFGPkt9K6KmE.:19266:0:99999:7::: [13:43] If that helps [13:44] Warepire: you just told us, the hash is included. but this is incorrect, it is prefixed by "!", aka disabled [13:45] Ugh, I forgot that's what ! means.. Thank you. Anything in my user-data that would make it disabled? I would expect the ssh_pwauth to only disable passwords in the sshd_config [13:47] I missed lock_password defaults to true in the docs. Thanks for the hint waldi !