i think you have to first use lxc-attach <container-name>
, that gives you direct shell (if as root, you will be logged as root directly), so later you can make all the normal stuff with new debian passwd,sudoers, new users…etc…) …, once finished with basic setup, you can use lxc-console
.