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
?
USERNAME=casper
line in theremaster-root/usr/share/initramfs-tools/scripts/casper
file does not have any effect. I tried this in v16.04. In fact, thecasper
file has only a single "ubuntu" word in a comments. Am I missing something? – Nazar Aug 08 '17 at 13:20remaster-root
in there? as far as I know it should still beedit/usr/share/initramfs-tools/scripts/casper
– Rinzwind Aug 08 '17 at 14:39edit
directory. Maybe it changed with the version change. – Nazar Aug 08 '17 at 14:45