[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problems with lxc on backports



On Wed, May 18, 2016 at 11:09:55PM +0200, Evgeni Golov wrote:
> > After trying several time and with several of my other sid lxc (of which
> > I am not sure of the password however), I (stupidly) decided to destroy
> > the container and create a new one with the lxc-create from backports.
> > Unfortunately that process doesn't tell me the new password (I assume
> > now that it is root/root, but I started with my own system credentials).
> > I couldn't log in to the new lxc as well.
> 
> No, root has no password anymore. If you want one: 
> xc-attach -n foo -- passwd

s/xc-/lxc/

but anyway shouldn't one be able to login as root without a password
from the console? (i.e. just entering 'root' at the login prompt should
be enough)

Attachment: signature.asc
Description: PGP signature


Reply to: