[13:02] <OutOfService> Hi
[13:02] <OutOfService> Do you think it's possible to enable and put a password for root user using autoinstall?
[13:03] <OutOfService> I tried using root in identity, but it didn't seem to work
[13:40] <minimal> OutOfService: in "normal" cloud-init this could be done by specifying "chpasswd:\n  users:\n    - name: root\n      password: <hashed value>\n"
[13:41] <minimal> if you put that inside a user-data subsection of autoinstall data then I assume it would be actioned by cloud-init on 1st boot of the installed system
[13:58] <OutOfService> thanks for your answer minimal. I alredy tried that, but maybe it's wrong the way I did. I passed ok the cloud-init schema config-file tool, and everything seemed to be ok. These are the lines regarding it:
[13:58] <OutOfService> chpasswd:
[13:58] <OutOfService>       list: |
[13:58] <OutOfService>         root: $6$AlkVm7ZhPDSdExe6$aySDYQBYjSwg7cxPEEbE.LyECBmB94GjG1gk7NkdDxfMDQRHatoecCxoK0r7LKzkOuE2NHTNxQVgZ11OhkU.e1
[13:58] <OutOfService>         oloco: $6$AlkVm7ZhPDSdExe6$aySDYQBYjSwg7cxPEEbE.LyECBmB94GjG1gk7NkdDxfMDQRHatoecCxoK0r7LKzkOuE2NHTNxQVgZ11OhkU.e1
[13:58] <OutOfService>         test3: $6$AlkVm7ZhPDSdExe6$aySDYQBYjSwg7cxPEEbE.LyECBmB94GjG1gk7NkdDxfMDQRHatoecCxoK0r7LKzkOuE2NHTNxQVgZ11OhkU.e1
[13:58] <OutOfService>       expire: False
[13:58] <OutOfService>     ssh_pwauth: True
[13:59] <OutOfService> Sorry, I don't know if that are too many lines..
[14:00] <OutOfService> My problem is that I cannot login not via ssh, nor diectly with any of these usernames
[14:00] <OutOfService> I also tried using both '' for the passwd
[14:02] <OutOfService> for a clearer view:  https://pastebin.com/MgMnNMMx
[14:13] <minimal> why have you specified root password in BOTH chpasswd section and users section?
[14:14] <OutOfService> because it was not working, so I tried in all the ways :)
[14:14] <OutOfService> I don't know which is the best way I should use
[14:14] <minimal> why have you quoted passwords?
[14:15] <OutOfService> same answer hehe   I was not wotking without it, and I tried with
[14:15] <minimal> have you read the cloud-init docs for these modules? they don't mention quoting and their examples don't use it
[14:16] <OutOfService> yes I did
[14:16] <OutOfService> https://cloudinit.readthedocs.io/en/latest/reference/modules.html
[14:19] <minimal> chpasswd list is deprecated (as of cloud-init 22.2) as mentioned in the docs
[14:19] <OutOfService> ?ve just tried again, and the only user taht works seems to be test
[14:19] <OutOfService> not root nor test3, or oloco
[14:20] <OutOfService> oh. I didn't realize of tah
[14:20] <OutOfService> I'll have a look to the current way
[14:20] <OutOfService> and try again
[14:20] <OutOfService> thanks for telling me
[14:33] <OutOfService> It's a little confising for me: I can usechpasswd in order to create users, but I cannot tell it the shell to use, nor the groups.... So, is it the best practice to use the user module?
[14:34] <OutOfService> I can't undertans why all this is taking me so much time to actually undertand... 
[14:34] <minimal> no chpasswd is not used to create users
[14:35] <minimal> did you careful read the docs for it?
[14:36] <OutOfService> it seems it wasn't so carefull. My english is poor and its difficult for me
[14:36] <OutOfService> As I can now understand, it's used to change existing user's passwods
[14:36] <OutOfService> right?
[14:36] <minimal> yes, that is what the docs say
[14:37] <OutOfService> and can't it be used with the users module?
[14:37] <minimal> what?
[14:37] <OutOfService> to assign or to change a password for a user
[14:37] <minimal> why would you want to do that?
[14:38] <minimal> did you carefully read the docs for the users module?
[14:39] <OutOfService> minimal, I tried to read the most carefully I could. I've spent more than two days trying to configure it, but its obvious it's being difficult for me to undertand all the things
[14:41] <minimal> I asked you early about duplicated entries in your configuration...
[14:42] <OutOfService> I did that because it wasn't working in one way, so I tried other one... 
[14:47] <OutOfService> I hope this is also not a studip question, but... can I use the users module in order to assign a password to it?
[14:47] <OutOfService> sorry, to root
[15:13] <minimal> isn't that what you already had in the configuration you showed?