I’m trying configure provisioning for Ubuntu 26.04. It seems to works quite fine, except the root password is not defined.
With the same templates, when I install Ubuntu 24 the hashed password is in the shadow file, but with Ubuntu 26, the root password seems to be empty. So the result is everybody can do “su -” and become root.
I use this template : Preseed Autoinstall cloud-init user data
I think it’s a change in the way Ubuntu manage the root account, during installation.
I prefer the root password being set as it allows to work with emergency shell and other debug scenarios more easily. Also it would be more consistent between the different distributions installed via Foreman.