On Tue, 24 Dec 2013 21:27:54 +0200
Kevin Wilson <[email protected]> wrote:

> Hi,
> 
> I had built lxc-0.9 from source RPM on Fedora 20.
> Then I created a container with
> lxc-create -t fedora -n fedoraCT
> 
> It says:
> ....
> Copying rootfs to /usr/local/var/lib/lxc/fedoraCT/rootfs ...setting
> root passwd to root
> ...
> 
> Then I try to run it by
>  lxc-start -n fedoraCT
> And I try to login with root/root and fail.
> Any ideas what are the credentials ?

Have a look at /usr/share/lxc/templates/lxc-fedora. The password is "root" (no
quotes).

Also, you can hack into /var/lib/lxc/fedoraCT/rootfs/etc/shadow and erase
whatever hash there is, in order to make root passwd empty.

> 
> Regards,
> Kevin

Cheers,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to