On Sat, 30.08.14 21:26, Ruben Kerkhof ([email protected]) wrote:

> Hi all,

heya,

> I'm playing around a bit with systemd-nspawn, and the new --volatile option.
> I've got it mostly working so far, except for loggin in to the container as 
> root.
> 
> Looking at the code, IIUC systemd-firstboot is supposed to prompt for the 
> root password, but it doesn't do this if /etc/shadow exists.
> systemd-sysusers creates the root account, and, since 9ab315ccf22a,
> also creates a (locked) entry in /etc/shadow.
> 
> Now the obvious question is, how do I get into my volatile container?

Indeed! This was borked. I have now fix this by ordering
systemd-firstboot before systemd-sysuers, so that it can ask for the
root password, before sysusers adds in the rest.

Thanks for te pointer!

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to