Image with new user and password

Good morning, I would need to know how to change the user pi and password before burning the memory and which program should I use? thank you