[18:33] <bgardner> Good afternoon everyone.  I'm working on setting up a rootfs from http://cdimage.ubuntu.com/ubuntu-core/releases/14.04/release/ubuntu-core-14.04.4-core-armhf.tar.gz  My question is, how do I add users to this?  The docs say it comes with no users defined, which makes sense, but while this works: "sudo useradd --root /path username", this does not: "sudo passwd --root /path username"
[18:35] <bgardner> It replies with "passwd: Cannot determine your user name."  I take this to be because my host is x86_64 and the rootfs I'm trying to build is armhf.  Trying to chroot straight there gives me "chroot: failed to run command ‘/bin/bash’: Exec format error", which also makes sense.
[18:36] <bgardner> So I guess my question is: what is the correct method to add users to an Ubuntu ARM rootfs from an x86_64 dev machine?
[19:37] <bgardner> If it helps, this system *does* boot all the way to a login prompt.  Without a user it's a useless prompt, of course, but it does appear to work.