=== Jack87|Away is now known as Jack87 | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== yofel_ is now known as yofel | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
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:33 |
---|---|---|
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:35 |
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? | 18:36 |
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. | 19:37 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!