How to change default password in ubuntu preinstall image for raspi4?

I want to change default username in raspi4 ubuntu installation. In this image default username and password are ubuntu/ubuntu However I want to change these default settings to something like newname/0123456(numeric only password). How do I change user-data cloudinit file? Note that I know numeric password is so weak, I just interested in how to…

Details

error found when loading etc/profile: /etc/profile:line 31:tracer: command not found [closed]

# Copyright © 2006 Shaun McCance <shaunm@gnome.org> # Copyright © 2013 Peter De Wachter <pdewacht@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or #…

Details