2

I've created a custom Ubuntu image for myself using UCK (Ubuntu Customization Kit).

My question is: when I boot the image as a LiveCD or LiveUSB, it automatically creates and logs you in to the user ubuntu. Is it possible to change this default username to something else, like myname?

Hippo
  • 537

1 Answers1

3

The username is stored on the live DVD in ...

edit/usr/share/initramfs-tools/scripts/casper

The hostname is in there too. The password is in ...

edit/usr/share/initramfs-tools/scripts/casper-bottom/10adduser

If UCK does not allow you to change it from the gui you will need to chroot the ISO yourself and do it manually. More on that in How to customize the Ubuntu Live CD? and on the wiki (the part about gconf is invalid nowadays; but the other information still looks valid).

Rinzwind
  • 309,379