Cloud-Init Password

ChrisJM

Well-Known Member
Mar 12, 2018
74
2
48
39
Hello.

I have setup a Debian 9 server i want to use a template but when i add a user and password through cloud-init the password for the user does not work and i get an authentication error.

The user is made and exisits and in /home fine

If i login as root and then change that users password manually its fine.

I am at a big loss on this i have been trying to figure out what the issue is. the user is not locked in /etc/passwd or shadow.

I can only think that cloud-init is not setting the password right